aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorScott González <scott.gonzalez@gmail.com>2013-10-23 08:16:12 -0400
committerScott González <scott.gonzalez@gmail.com>2013-10-24 09:19:42 -0400
commit46b8915eb0b0b38ae47d110ab6ef0d2d893113a7 (patch)
tree4692e4a952c62c59154acb55dc373781665aedfe /ui
parent5801a7ef653116b1376a8b5e4a94b56753fb8464 (diff)
downloadjquery-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')
-rw-r--r--ui/jquery.ui.position.js2
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 ) );