From 4613644cce9f64cef4115cbfff660b41d51a9b9d Mon Sep 17 00:00:00 2001 From: achingbrain Date: Thu, 28 Nov 2013 08:32:39 +0000 Subject: passes in references to process and Buffer to silence ReferenceErrors --- tools/node.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/node.js') diff --git a/tools/node.js b/tools/node.js index 084998da..b08559ad 100644 --- a/tools/node.js +++ b/tools/node.js @@ -6,6 +6,8 @@ var sys = require("util"); var UglifyJS = vm.createContext({ sys : sys, console : console, + process : process, + Buffer : Buffer, MOZ_SourceMap : require("source-map") }); -- cgit v1.2.3