From 46cdf1377c752b555b7d0d0c7d33dff087aadd3b Mon Sep 17 00:00:00 2001 From: Scott González Date: Sun, 28 Sep 2008 17:58:08 +0000 Subject: $.widget: Create namespace if it doesn't already exist. --- ui/ui.core.js | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3