瀏覽代碼

Refactoring of structure and removing some extraneous old code

Matt Coles 9 年之前
父節點
當前提交
821943f551
共有 3 個文件被更改,包括 0 次插入1 次删除
  1. 0 0
      examples/examples.mc
  2. 0 0
      examples/fizzbuzz.mc
  3. 0 1
      libjs/stdlib.js

example.mc → examples/examples.mc


fizzbuzz.mc → examples/fizzbuzz.mc


+ 0 - 1
libjs/stdlib.js

@@ -84,7 +84,6 @@ const my_handler = {
84 84
     } else {
85 85
       methods = Object.keys(function_defs)
86 86
       if (methods.includes(prop)) {
87
-        //return (function () { eval(function_defs[prop].replace(/\$(\d+)/g, (m, n) => JSON.stringify(arguments[(+n-1)]))) })
88 87
         return function_defs[prop]
89 88
       } else {
90 89
         console.error("Undefined function call! No such function: ", prop)