Add loco scroll v2, update load module and app, update html, add nomodule polyfills script tags

This commit is contained in:
Antoine Boulanger
2019-05-23 10:06:45 -04:00
parent 52db1cc63e
commit d166261d0a
16 changed files with 42 additions and 378 deletions

View File

@@ -1,5 +1,5 @@
<!doctype html>
<html class="has-no-js" lang="en" data-page="home">
<html class="is-loading" lang="en" data-page="home">
<head>
<meta charset="utf-8">
<title>Boilerplate</title>
@@ -19,7 +19,7 @@
<body data-module-load>
<header>
<h1>Boilerplate</h1>
<a href="/"><h1>Boilerplate</h1></a>
<nav>
<ul>
<li><a href="page.html">Page</a></li>
@@ -42,8 +42,12 @@
<p>Made with <a href="https://github.com/locomotivemtl/locomotive-boilerplate" title="Locomotive Boilerplate" target="_blank">🚂</a></p>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="assets/scripts/jquery-3.3.1.min.js"><\/script>')</script>
<script nomodule src="https://cdnjs.cloudflare.com/ajax/libs/babel-polyfill/7.4.4/polyfill.min.js" crossorigin="anonymous"></script>
<script nomodule src="https://polyfill.io/v3/polyfill.min.js?features=fetch%2CCustomEvent%2CElement.prototype.matches" crossorigin="anonymous"></script>
<script nomodule src="assets/scripts/abortcontroller-polyfill-only.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="assets/scripts/jquery-3.4.1.min.js"><\/script>')</script>
<script src="assets/scripts/vendors.js"></script>
<script src="assets/scripts/app.js"></script>
</body>