When we disabled triggering of clicks, we also killed off blur and focus, this fixes...
[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$/, "pack.js");
9
10 // options
11 var base62 = true;
12 var shrink = true;
13
14 var script = readFile(inFile);
15 var header = script.match(/\/\*(.|\n)*?\*\//)[0];
16 var packer = new Packer;
17 var packedScript = packer.pack(script, base62, shrink);
18
19 writeFile(outFile, header + "\n" + packedScript);