aboutsummaryrefslogtreecommitdiffstats
path: root/ui/core.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/core.js')
-rw-r--r--ui/core.js8
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,