Skip to content

Commit 9288956

Browse files
committed
Move to using mysam-core
1 parent c379972 commit 9288956

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

app.js

-9
This file was deleted.

index.html

+10-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,16 @@
99
</head>
1010
<body>
1111
<div id="content" class="full"></div>
12-
<script src="//unpkg.com/mysam@^0.2.0/dist/mysam.js"></script>
12+
<script src="//unpkg.com/mysam-core@^0.3.0/dist/mysam-core.js"></script>
1313
<script src="dist/mysam-ui.js"></script>
14-
<script src="app.js"></script>
14+
<script>
15+
// Initialize API (in the browser)
16+
const core = mysam.core();
17+
18+
// Load the UI
19+
mysam.ui(document.getElementById('content'), core);
20+
21+
localStorage.debug = 'mysam*';
22+
</script>
1523
</body>
1624
</html>

0 commit comments

Comments
 (0)