Skip to content

Commit

Permalink
Merge pull request #249 from nicoulaj/master
Browse files Browse the repository at this point in the history
fix #248: crossorigin attribute is needed when including with type="module"
  • Loading branch information
zadam authored Dec 1, 2018
2 parents af195be + cb00d42 commit 350cb52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/views/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -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">

Expand All @@ -250,4 +250,4 @@
<%= appCss %>
</style>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions src/views/setup.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 350cb52

Please sign in to comment.