aboutsummaryrefslogtreecommitdiff
path: root/tools/node.js
diff options
context:
space:
mode:
Diffstat (limited to 'tools/node.js')
-rw-r--r--tools/node.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/node.js b/tools/node.js
index 58150e6b..ef05f571 100644
--- a/tools/node.js
+++ b/tools/node.js
@@ -15,13 +15,13 @@ exports.FILES = [
require.resolve("./exports.js"),
];
-new Function("MOZ_SourceMap", "exports", function() {
+new Function("exports", function() {
var code = exports.FILES.map(function(file) {
return fs.readFileSync(file, "utf8");
});
code.push("exports.describe_ast = " + describe_ast.toString());
return code.join("\n\n");
-}())(require("source-map"), exports);
+}())(exports);
function describe_ast() {
var out = OutputStream({ beautify: true });