diff options
author | Scott González <scott.gonzalez@gmail.com> | 2008-09-28 17:58:08 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2008-09-28 17:58:08 +0000 |
commit | 46cdf1377c752b555b7d0d0c7d33dff087aadd3b (patch) | |
tree | 85d841a1e7faa00a71988ef1f9cdad8089381945 /ui/ui.core.js | |
parent | c1deb3508bf0e54c5afe28d356bf6a6dfce5c372 (diff) | |
download | jquery-ui-46cdf1377c752b555b7d0d0c7d33dff087aadd3b.tar.gz jquery-ui-46cdf1377c752b555b7d0d0c7d33dff087aadd3b.zip |
$.widget: Create namespace if it doesn't already exist.
Diffstat (limited to 'ui/ui.core.js')
-rw-r--r-- | ui/ui.core.js | 1 |
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; |