diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/moduleEnv.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/lib/moduleEnv.js b/lib/moduleEnv.js index 09bfd39..789ea2f 100644 --- a/lib/moduleEnv.js +++ b/lib/moduleEnv.js @@ -26,21 +26,6 @@ function load(targetModule) { reset(); } -function compileJavaScript(src, targetPath) { - return babelCore.transform(stripBOM(src), { - plugins: [transformBlockScoping], - retainLines: true, - filename: targetPath - }).code; -} - -function compileCoffeeScript(src, targetPath) { - return coffee.compile(stripBOM(src), { - filename: targetPath, - bare: true - }); -} - function reset() { Module.wrapper[0] = moduleWrapper0; Module.wrapper[1] = moduleWrapper1; |