1 load("build/js/writeFile.js");
2 load("build/js/base2.js");
3 load("build/js/Packer.js");
4 load("build/js/Words.js");
7 var inFile = arguments[0];
8 var outFile = arguments[1] || inFile.replace(/\.js$/, "-p.js");
14 var script = readFile(inFile);
15 var packer = new Packer;
16 var packedScript = packer.pack(script, base62, shrink);
18 writeFile(outFile, packedScript);