div.remove();
- return w1 - w2;
+ return w1 - w2;
},
getScrollInfo: function(within) {
var notWindow = within[0] !== window,
}
},
flipfit: {
- left: function() {
- $.ui.position.flip.left.apply( this, arguments );
+ left: function() {
+ $.ui.position.flip.left.apply( this, arguments );
$.ui.position.fit.left.apply( this, arguments );
},
- top: function() {
- $.ui.position.flip.top.apply( this, arguments );
+ top: function() {
+ $.ui.position.flip.top.apply( this, arguments );
$.ui.position.fit.top.apply( this, arguments );
}
}
// fraction support test
(function () {
var testElement, testElementParent, testElementStyle, offsetLeft, i
- body = document.getElementsByTagName( "body" )[ 0 ],
+ body = document.getElementsByTagName( "body" )[ 0 ],
div = document.createElement( "div" );
//Create a "fake body" for testing based on method used in jQuery.support
background: "none"
};
if ( body ) {
- jQuery.extend( testElementStyle, {
+ $.extend( testElementStyle, {
position: "absolute",
left: "-1000px",
top: "-1000px"