cleaned up some mess and started the actual compressor

This commit is contained in:
Mihai Bazon
2012-08-21 15:45:05 +03:00
parent 7ae1c600a2
commit ffe58a9961
7 changed files with 315 additions and 52 deletions

View File

@@ -3,7 +3,9 @@ var vm = require("vm");
var sys = require("util");
var path = require("path");
var UglifyJS = vm.createContext({});
var UglifyJS = vm.createContext({
sys: sys
});
function load_global(file) {
file = path.resolve(path.dirname(module.filename), file);