Skip to content
Permalink
Browse files

Fix for bug #983 (Packed jQuery doesn't have a license at the top of …

…the file.)
  • Loading branch information
jeresig committed May 20, 2007
1 parent 9b5363b commit 5e964a4a734177c7359735b893e2d6ce5abaedbd
Showing with 3 additions and 2 deletions.
  1. +2 −1 build/build/pack.js
  2. +1 −1 src/intro.js
@@ -12,7 +12,8 @@ var base62 = true;
var shrink = true;

var script = readFile(inFile);
var header = script.match(/\/\*(.|\n)*?\*\//)[0];
var packer = new Packer;
var packedScript = packer.pack(script, base62, shrink);

writeFile(outFile, packedScript);
writeFile(outFile, header + "\n" + packedScript);
@@ -1,2 +1,2 @@
/* prevent execution of jQuery if included more than once */
// prevent execution of jQuery if included more than once
if(typeof window.jQuery == "undefined") {

0 comments on commit 5e964a4

Please sign in to comment.
You can’t perform that action at this time.