소스 검색

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)