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
diff options
context:
space:
mode:
Diffstat (limited to 'lib/moduleEnv.js')
-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;