diff options
author | Johannes Ewald <johannes.ewald@peerigon.com> | 2017-11-11 04:48:54 +0300 |
---|---|---|
committer | Johannes Ewald <johannes.ewald@peerigon.com> | 2017-11-11 05:04:37 +0300 |
commit | ec2175b17bd1f2ecdb479c66fab8a01666d6da3a (patch) | |
tree | 9b06934df193875f41dfc9400a352acd3183eb2a /lib | |
parent | b6cc4071f67d47596901c01506eeeff138ab059e (diff) |
Update .travis.yml
Remove unsupported node versions
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; |