diff options
author | Scott González <scott.gonzalez@gmail.com> | 2013-10-23 08:16:12 -0400 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2013-10-24 09:19:42 -0400 |
commit | 46b8915eb0b0b38ae47d110ab6ef0d2d893113a7 (patch) | |
tree | 4692e4a952c62c59154acb55dc373781665aedfe /ui/jquery.ui.position.js | |
parent | 5801a7ef653116b1376a8b5e4a94b56753fb8464 (diff) | |
download | jquery-ui-46b8915eb0b0b38ae47d110ab6ef0d2d893113a7.tar.gz jquery-ui-46b8915eb0b0b38ae47d110ab6ef0d2d893113a7.zip |
Position: Wrap everything in an IIFE to avoid name collisions when the build strips the main closure.
Diffstat (limited to 'ui/jquery.ui.position.js')
-rw-r--r-- | ui/jquery.ui.position.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/jquery.ui.position.js b/ui/jquery.ui.position.js index 21c3cef1b..15f168927 100644 --- a/ui/jquery.ui.position.js +++ b/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 ) ); |