Moved from the old JSMin to using YUIMin for compressing the jQuery source. Additionally landed some improvements from #3770 which dramatically reduce the filesize. The final minifed + gzipped size of jQuery went from 19817 bytes to 18063 bytes.
This commit is contained in:
parent
c0294278db
commit
434b87b8a2
5 changed files with 7 additions and 3 deletions
|
@ -497,7 +497,7 @@ jQuery.extend({
|
|||
|
||||
// Get the JavaScript object, if JSON is used.
|
||||
if ( type == "json" )
|
||||
data = eval("(" + data + ")");
|
||||
data = window["eval"]("(" + data + ")");
|
||||
}
|
||||
|
||||
return data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue