aboutsummaryrefslogtreecommitdiffstats
path: root/ui/position.js
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-07-15 18:26:12 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-08-08 00:29:35 -0400
commit3d71fb83fe02a307823594f5905be9848cfa5506 (patch)
treecbf18612e3f83a32f82b8341c789f5a0658d6bd1 /ui/position.js
parentcd6c751b88313ac1fa2e0fb46d7668ca6ce0f4b1 (diff)
downloadjquery-ui-3d71fb83fe02a307823594f5905be9848cfa5506.tar.gz
jquery-ui-3d71fb83fe02a307823594f5905be9848cfa5506.zip
Core: Move version and creation of the ui namespace into its own module
Ref #9647
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,