This commit is contained in:
Remko Tronçon 2019-03-09 20:13:00 +01:00
parent 9f927fb45a
commit ddcd38c0fb
3 changed files with 9 additions and 3 deletions

View file

@ -9,3 +9,6 @@ globals:
require: true require: true
rules: rules:
no-console: 0 no-console: 0
settings:
react:
version: "16.0"

View file

@ -34,3 +34,6 @@ src/tools/quadruple.wasm.hex: src/tools/quadruple.wasm
clean: clean:
-rm -rf $(WASM_FILES) src/tools/quadruple.wasm src/tools/quadruple.wasm.hex src/waforth.wat.tmp dist -rm -rf $(WASM_FILES) src/tools/quadruple.wasm src/tools/quadruple.wasm.hex src/waforth.wat.tmp dist
lint:
yarn run -s eslint .

View file

@ -44,9 +44,9 @@ describe("WAForth", () => {
return name.join(""); return name.join("");
} }
function getCountedString(p) { // function getCountedString(p) {
return getString(p + 4, memory[p / 4]); // return getString(p + 4, memory[p / 4]);
} // }
function loadString(s) { function loadString(s) {
run("HERE"); run("HERE");