aboutsummaryrefslogtreecommitdiffstats
path: root/ui/position.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/position.js')
-rw-r--r--ui/position.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/position.js b/ui/position.js
index 172503fef..e9e805bb6 100644
--- a/ui/position.js
+++ b/ui/position.js
@@ -19,7 +19,7 @@
if ( typeof define === "function" && define.amd ) {
// AMD. Register as an anonymous module.
- define( [ "jquery" ], factory );
+ define( [ "jquery", "./version" ], factory );
} else {
// Browser globals
@@ -27,9 +27,6 @@
}
}( function( $ ) {
( function() {
-
-$.ui = $.ui || {};
-
var cachedScrollbarWidth, supportsOffsetFractions,
max = Math.max,
abs = Math.abs,