Skip to content

Commit

Permalink
Position: Update fullname reference; jQuery => $. Fixes #8029 - Posit…
Browse files Browse the repository at this point in the history
…ion: There is a reference to the global jQuery variable.
  • Loading branch information
rwaldron authored and scottgonzalez committed Jan 19, 2012
1 parent 13eca29 commit 07ec849
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions ui/jquery.ui.position.js
Expand Up @@ -37,7 +37,7 @@ $.position = {

div.remove();

return w1 - w2;
return w1 - w2;
},
getScrollInfo: function(within) {
var notWindow = within[0] !== window,
Expand Down Expand Up @@ -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 );
}
}
Expand All @@ -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
Expand All @@ -429,7 +429,7 @@ $.ui.position = {
background: "none"
};
if ( body ) {
jQuery.extend( testElementStyle, {
$.extend( testElementStyle, {
position: "absolute",
left: "-1000px",
top: "-1000px"
Expand Down

0 comments on commit 07ec849

Please sign in to comment.