Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update QUnit, fix visibility of #dl and pass JSLint in effects.js
- Loading branch information
timmywil
committed
Apr 17, 2011
1 parent
ecf6a3c
commit 68cc3ad
Showing
3 changed files
with
24 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -165,7 +165,7 @@ jQuery.fn.extend({ | |
this.style.display = "inline-block"; | ||
|
||
} else { | ||
var display = defaultDisplay(this.nodeName); | ||
display = defaultDisplay(this.nodeName); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
timmywil
Member
|
||
|
||
// inline-level elements accept inline-block; | ||
// block-level elements need to be inline with layout | ||
|
@@ -266,6 +266,27 @@ jQuery.fn.extend({ | |
|
||
}); | ||
|
||
// Animations created synchronously will run synchronously | ||
function createFxNow() { | ||
setTimeout( clearFxNow, 0 ); | ||
return ( fxNow = jQuery.now() ); | ||
} | ||
|
||
function clearFxNow() { | ||
fxNow = undefined; | ||
} | ||
|
||
// Generate parameters to create a standard animation | ||
function genFx( type, num ) { | ||
var obj = {}; | ||
|
||
jQuery.each( fxAttrs.concat.apply([], fxAttrs.slice(0,num)), function() { | ||
obj[ this ] = type; | ||
}); | ||
|
||
return obj; | ||
} | ||
|
||
// Generate shortcuts for custom animations | ||
jQuery.each({ | ||
slideDown: genFx("show", 1), | ||
|
@@ -581,25 +602,4 @@ function defaultDisplay( nodeName ) { | |
return elemdisplay[ nodeName ]; | ||
} | ||
|
||
// Animations created synchronously will run synchronously | ||
function createFxNow() { | ||
setTimeout( clearFxNow, 0 ); | ||
return ( fxNow = jQuery.now() ); | ||
} | ||
|
||
function clearFxNow() { | ||
fxNow = undefined; | ||
} | ||
|
||
// Generate parameters to create a standard animation | ||
function genFx( type, num ) { | ||
var obj = {}; | ||
|
||
jQuery.each( fxAttrs.concat.apply([], fxAttrs.slice(0,num)), function() { | ||
obj[ this ] = type; | ||
}); | ||
|
||
return obj; | ||
} | ||
|
||
})( jQuery ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule qunit
updated
from d404fa to 69925b
If I'm not mistaken, there is no display var declared prior to this