Merge pull request #249 from nicoulaj/master

fix #248: crossorigin attribute is needed when including with type="module"
This commit is contained in:
zadam 2018-12-02 00:27:59 +01:00 committed by GitHub
commit 350cb52c07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -236,7 +236,7 @@
<link href="/stylesheets/style.css" rel="stylesheet">
<script src="/javascripts/services/bootstrap.js" type="module"></script>
<script src="/javascripts/services/bootstrap.js" crossorigin type="module"></script>
<link rel="stylesheet" type="text/css" href="/libraries/jam/css/jam.min.css">
@ -250,4 +250,4 @@
<%= appCss %>
</style>
</body>
</html>
</html>

View File

@ -129,6 +129,6 @@
<script src="/libraries/knockout.min.js"></script>
<script src="/javascripts/setup.js" type="module"></script>
<script src="/javascripts/setup.js" crossorigin type="module"></script>
</body>
</html>
</html>