From 3d71fb83fe02a307823594f5905be9848cfa5506 Mon Sep 17 00:00:00 2001 From: Alexander Schmitz Date: Wed, 15 Jul 2015 18:26:12 -0400 Subject: Core: Move version and creation of the ui namespace into its own module Ref #9647 --- ui/position.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'ui/position.js') 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, -- cgit v1.2.3