Skip to content

Commit 07ec849

Browse files
rwaldronscottgonzalez
authored andcommitted
Position: Update fullname reference; jQuery => $. Fixes #8029 - Position: There is a reference to the global jQuery variable.
1 parent 13eca29 commit 07ec849

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

ui/jquery.ui.position.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ $.position = {
3737

3838
div.remove();
3939

40-
return w1 - w2;
40+
return w1 - w2;
4141
},
4242
getScrollInfo: function(within) {
4343
var notWindow = within[0] !== window,
@@ -401,12 +401,12 @@ $.ui.position = {
401401
}
402402
},
403403
flipfit: {
404-
left: function() {
405-
$.ui.position.flip.left.apply( this, arguments );
404+
left: function() {
405+
$.ui.position.flip.left.apply( this, arguments );
406406
$.ui.position.fit.left.apply( this, arguments );
407407
},
408-
top: function() {
409-
$.ui.position.flip.top.apply( this, arguments );
408+
top: function() {
409+
$.ui.position.flip.top.apply( this, arguments );
410410
$.ui.position.fit.top.apply( this, arguments );
411411
}
412412
}
@@ -415,7 +415,7 @@ $.ui.position = {
415415
// fraction support test
416416
(function () {
417417
var testElement, testElementParent, testElementStyle, offsetLeft, i
418-
body = document.getElementsByTagName( "body" )[ 0 ],
418+
body = document.getElementsByTagName( "body" )[ 0 ],
419419
div = document.createElement( "div" );
420420

421421
//Create a "fake body" for testing based on method used in jQuery.support
@@ -429,7 +429,7 @@ $.ui.position = {
429429
background: "none"
430430
};
431431
if ( body ) {
432-
jQuery.extend( testElementStyle, {
432+
$.extend( testElementStyle, {
433433
position: "absolute",
434434
left: "-1000px",
435435
top: "-1000px"

0 commit comments

Comments
 (0)