removing the context and selector properties that I left in jQuery.prototype.init
[jquery.git] / build / build / pack.js
1 load("build/js/writeFile.js");
2 load("build/js/base2.js");
3 load("build/js/Packer.js");
4 load("build/js/Words.js");
5
6 // arguments
7 var inFile = arguments[0];
8 var outFile = arguments[1] || inFile.replace(/\.js$/, "-p.js");
9
10 // options
11 var base62 = true;
12 var shrink = true;
13
14 var script = readFile(inFile);
15 var packer = new Packer;
16 var packedScript = packer.pack(script, base62, shrink);
17
18 writeFile(outFile, packedScript);