Skip to content
Permalink
Browse files

Position: Wrap everything in an IIFE to avoid name collisions when th…

…e build strips the main closure.
  • Loading branch information
scottgonzalez committed Oct 23, 2013
1 parent 5801a7e commit 46b8915eb0b0b38ae47d110ab6ef0d2d893113a7
Showing with 2 additions and 0 deletions.
  1. +2 −0 ui/jquery.ui.position.js
@@ -9,6 +9,7 @@
* http://api.jqueryui.com/position/
*/
(function( $, undefined ) {
(function() {

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

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

})();
}( jQuery ) );

0 comments on commit 46b8915

Please sign in to comment.
You can’t perform that action at this time.