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:
Oleg
2013-01-29 04:04:58 +04:00
committed by Dave Methvin
parent e392e5579b
commit d79bf3517e
12 changed files with 67 additions and 61 deletions

6
src/effects.js vendored
View File

@@ -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 = {},