diff --git a/docs/index.html b/docs/index.html index 60e9149..88bea16 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,54 +1,62 @@ - - - - - - - - + + + + + + + + - - + + - - - - - - + + + + + + + + + + - - - + + - + // for (var i = 0; i < examples.length; ++i) { + // var example = examples[i]; + // var option = document.createElement('option'); + // option.textContent = example.name; + // selectEl.appendChild(option); + // } + // selectEl.selectedIndex = 1; + // setExample(selectEl.selectedIndex); + @@ -57,53 +65,53 @@
-

🐝 Wasp

-

A new programming language for wasm

- - +

🐝 Wasp

+

A new programming language for wasm

+ + -
- -
- - - - - -
- +
+ + + + + +
+ - + var editor = CodeMirror.fromTextArea(document.getElementById('code'), { + lineNumbers: true, + mode: "wasp", + extraKeys: {"Ctrl-Space": "autocomplete"} + }); + editor.on('change', function () { + compile_and_run(editor.getValue()) + // editor.save(); + editor.focus(); + }); +