diff options
author | achingbrain <alex@achingbrain.net> | 2013-11-28 08:32:39 +0000 |
---|---|---|
committer | Richard van Velzen <rvanvelzen1@gmail.com> | 2015-01-04 19:26:47 +0100 |
commit | 4613644cce9f64cef4115cbfff660b41d51a9b9d (patch) | |
tree | 4f452be3951a2fc2d7ae1c6e33f980e6b1448fba /tools | |
parent | 718e4756134053bbcf62e9686f698fa3cb5a7e03 (diff) | |
download | tracifyjs-4613644cce9f64cef4115cbfff660b41d51a9b9d.tar.gz tracifyjs-4613644cce9f64cef4115cbfff660b41d51a9b9d.zip |
passes in references to process and Buffer to silence ReferenceErrors
Diffstat (limited to 'tools')
-rw-r--r-- | tools/node.js | 2 |
1 files changed, 2 insertions, 0 deletions
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") }); |