Skip to content
Snippets Groups Projects
Commit f829ccfa authored by Jannik Wurche's avatar Jannik Wurche
Browse files

:recycle: update checker.js -> editor.js

parent 1628bf3a
Branches
No related tags found
No related merge requests found
...@@ -6,6 +6,7 @@ Test/ ...@@ -6,6 +6,7 @@ Test/
build/ build/
dist/ dist/
elm.js elm.js
editor.js
test.js test.js
# Node modules (if using npm/yarn for other dependencies) # Node modules (if using npm/yarn for other dependencies)
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
reader.onload = function(e) { reader.onload = function(e) {
const jsonString = e.target.result; const jsonString = e.target.result;
const json = JSON.parse(jsonString); const json = JSON.parse(jsonString);
const app = Elm.Main.init({ const app = Elm.Editor.init({
node: document.getElementById('elm-container'), node: document.getElementById('elm-container'),
flags: json flags: json
}); });
...@@ -26,6 +26,6 @@ ...@@ -26,6 +26,6 @@
<body> <body>
<input type="file" id="fileInput" /> <input type="file" id="fileInput" />
<div id="elm-container"></div> <div id="elm-container"></div>
<!--script src="elm.js"></script--> <script src="editor.js"></script>
</body> </body>
</html> </html>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment