diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-07-15 18:26:12 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-08-08 00:29:35 -0400 |
commit | 3d71fb83fe02a307823594f5905be9848cfa5506 (patch) | |
tree | cbf18612e3f83a32f82b8341c789f5a0658d6bd1 /ui/core.js | |
parent | cd6c751b88313ac1fa2e0fb46d7668ca6ce0f4b1 (diff) | |
download | jquery-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/core.js')
-rw-r--r-- | ui/core.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ui/core.js b/ui/core.js index 9ac196d38..a529f35db 100644 --- a/ui/core.js +++ b/ui/core.js @@ -18,7 +18,9 @@ if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. - define( [ "jquery" ], factory ); + define( [ + "jquery", + "./version" ], factory ); } else { // Browser globals @@ -26,11 +28,7 @@ } }( function( $ ) { -// $.ui might exist from components with no dependencies, e.g., $.ui.position -$.ui = $.ui || {}; - $.extend( $.ui, { - version: "@VERSION", keyCode: { BACKSPACE: 8, |