Skip to content

Commit 46b8915

Browse files
committed
Position: Wrap everything in an IIFE to avoid name collisions when the build strips the main closure.
1 parent 5801a7e commit 46b8915

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ui/jquery.ui.position.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* http://api.jqueryui.com/position/
1010
*/
1111
(function( $, undefined ) {
12+
(function() {
1213

1314
$.ui = $.ui || {};
1415

@@ -494,4 +495,5 @@ $.ui.position = {
494495
testElementParent.removeChild( testElement );
495496
})();
496497

498+
})();
497499
}( jQuery ) );

0 commit comments

Comments
 (0)