Skip to content

Commit

Permalink
SAK-42540 Make roster.js a module so it can use static imports (sakai…
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianfish authored Sep 24, 2019
1 parent 2efe90d commit 3988844
Show file tree
Hide file tree
Showing 2 changed files with 750 additions and 751 deletions.
5 changes: 4 additions & 1 deletion roster2/tool/src/webapp/WEB-INF/bootstrap.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@
<script src="/profile2-tool/javascript/profile2-eb.js${portalCDNQuery}"></script>
<script>includeWebjarLibrary("handlebars");</script>
<script src="/sakai-roster2-tool/templates.js${portalCDNQuery}"></script>
<script src="/sakai-roster2-tool/js/roster.js${portalCDNQuery}"></script>
<script type="module">
import {loadRoster} from "/sakai-roster2-tool/js/roster.js${portalCDNQuery}";
loadRoster();
</script>

</body>
</html>
Loading

0 comments on commit 3988844

Please sign in to comment.