diff options
author | Rick Waldron <waldron.rick@gmail.com> | 2012-01-18 18:58:43 -0500 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2012-01-19 08:21:54 -0500 |
commit | 07ec849f623699c87fc7ecc3770ea11ad9ba8e4e (patch) | |
tree | 9ce03c666ebba6fb757aa3a9a71aedd8b90dee55 /ui/jquery.ui.position.js | |
parent | 13eca299a9a7fb9767a9685f50d4242cc3ad7d77 (diff) | |
download | jquery-ui-07ec849f623699c87fc7ecc3770ea11ad9ba8e4e.tar.gz jquery-ui-07ec849f623699c87fc7ecc3770ea11ad9ba8e4e.zip |
Position: Update fullname reference; jQuery => $. Fixes #8029 - Position: There is a reference to the global jQuery variable.
Diffstat (limited to 'ui/jquery.ui.position.js')
-rw-r--r-- | ui/jquery.ui.position.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ui/jquery.ui.position.js b/ui/jquery.ui.position.js index 9a520f845..00976bf79 100644 --- a/ui/jquery.ui.position.js +++ b/ui/jquery.ui.position.js @@ -37,7 +37,7 @@ $.position = { div.remove(); - return w1 - w2; + return w1 - w2; }, getScrollInfo: function(within) { var notWindow = within[0] !== window, @@ -401,12 +401,12 @@ $.ui.position = { } }, 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 ); } } @@ -415,7 +415,7 @@ $.ui.position = { // 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 @@ -429,7 +429,7 @@ $.ui.position = { background: "none" }; if ( body ) { - jQuery.extend( testElementStyle, { + $.extend( testElementStyle, { position: "absolute", left: "-1000px", top: "-1000px" |