[Pkg-javascript-commits] [uglifyjs] 17/77: passes in references to process and Buffer to silence ReferenceErrors
Jonas Smedegaard
dr at jones.dk
Tue May 19 00:02:27 UTC 2015
This is an automated email from the git hooks/post-receive script.
js pushed a commit to tag v2.4.18
in repository uglifyjs.
commit 4613644cce9f64cef4115cbfff660b41d51a9b9d
Author: achingbrain <alex at achingbrain.net>
Date: Thu Nov 28 08:32:39 2013 +0000
passes in references to process and Buffer to silence ReferenceErrors
---
tools/node.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/node.js b/tools/node.js
index 084998d..b08559a 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")
});
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/uglifyjs.git
More information about the Pkg-javascript-commits
mailing list