Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/rewire.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJohannes Ewald <johannes.ewald@peerigon.com>2017-11-11 04:48:54 +0300
committerJohannes Ewald <johannes.ewald@peerigon.com>2017-11-11 05:04:37 +0300
commitec2175b17bd1f2ecdb479c66fab8a01666d6da3a (patch)
tree9b06934df193875f41dfc9400a352acd3183eb2a /lib
parentb6cc4071f67d47596901c01506eeeff138ab059e (diff)
Update .travis.yml
Remove unsupported node versions
Diffstat (limited to 'lib')
-rw-r--r--lib/moduleEnv.js15
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;