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:
6
src/effects.js
vendored
6
src/effects.js
vendored
@@ -175,7 +175,7 @@ function Animation( elem, properties, options ) {
|
||||
}
|
||||
|
||||
function propFilter( props, specialEasing ) {
|
||||
var index, name, easing, value, hooks;
|
||||
var value, name, index, easing, hooks;
|
||||
|
||||
// camelCase, specialEasing and expand cssHook pass
|
||||
for ( index in props ) {
|
||||
@@ -243,7 +243,9 @@ jQuery.Animation = jQuery.extend( Animation, {
|
||||
|
||||
function defaultPrefilter( elem, props, opts ) {
|
||||
/*jshint validthis:true */
|
||||
var index, prop, value, length, dataShow, toggle, tween, hooks, oldfire,
|
||||
var prop, index, length,
|
||||
value, dataShow, toggle,
|
||||
tween, hooks, oldfire,
|
||||
anim = this,
|
||||
style = elem.style,
|
||||
orig = {},
|
||||
|
||||
Reference in New Issue
Block a user