mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Fix #13355. Tweak Uglify options and var order for gzip. Close gh-1151.
Change uglify-js options for compressor Change variables initialization sequence for some declarations
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
var curCSS, getStyles, iframe,
|
||||
var iframe, getStyles, curCSS,
|
||||
ralpha = /alpha\([^)]*\)/i,
|
||||
ropacity = /opacity\s*=\s*([^)]*)/,
|
||||
rposition = /^(top|right|bottom|left)$/,
|
||||
@@ -98,7 +98,7 @@ function showHide( elements, show ) {
|
||||
jQuery.fn.extend({
|
||||
css: function( name, value ) {
|
||||
return jQuery.access( this, function( elem, name, value ) {
|
||||
var styles, len,
|
||||
var len, styles,
|
||||
map = {},
|
||||
i = 0;
|
||||
|
||||
@@ -239,7 +239,7 @@ jQuery.extend({
|
||||
},
|
||||
|
||||
css: function( elem, name, extra, styles ) {
|
||||
var val, num, hooks,
|
||||
var num, val, hooks,
|
||||
origName = jQuery.camelCase( name );
|
||||
|
||||
// Make sure that we're working with the right name
|
||||
|
||||
Reference in New Issue
Block a user