aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/ui.core.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/ui.core.js b/ui/ui.core.js
index 6450f1752..aea6e0ec8 100644
--- a/ui/ui.core.js
+++ b/ui/ui.core.js
@@ -175,6 +175,7 @@ $.widget = function(name, prototype) {
};
// create widget constructor
+ $[namespace] = $[namespace] || {};
$[namespace][name] = function(element, options) {
var self = this;