Browse Source

demo: evaluate initial code on page load (#174)

pull/146/head
WofWca 5 years ago committed by Jason Williams
parent
commit
eea035c7d5
  1. 1
      index.js

1
index.js

@ -36,6 +36,7 @@ rust.then(m => {
window.evaluate = m.evaluate;
editor.getModel().onDidChangeContent(inputHandler);
inputHandler(); // Evaluate initial code
});
function inputHandler(evt) {

Loading…
Cancel
Save