projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8915f31
)
Wrap mkws-widget-main.js to allow jQuery use.
author
Jason Skomorowski
<jason@indexdata.com>
Tue, 23 Sep 2014 09:20:29 +0000
(
05:20
-0400)
committer
Jason Skomorowski
<jason@indexdata.com>
Tue, 23 Sep 2014 09:20:29 +0000
(
05:20
-0400)
src/mkws-widget-main.js
patch
|
blob
|
history
diff --git
a/src/mkws-widget-main.js
b/src/mkws-widget-main.js
index
fce4779
..
6731b1d
100644
(file)
--- a/
src/mkws-widget-main.js
+++ b/
src/mkws-widget-main.js
@@
-1,3
+1,5
@@
+(function($) { // jQuery wrapper
+
// Functions follow for promoting the regular widget object into
// widgets of specific types. These could be moved into their own
// source files.
@@
-386,3
+388,4
@@
mkws.registerWidgetType('MOTDContainer', function() {});
mkws.registerWidgetType('Button', function() {});
+})(mkws.$); // jQuery wrapper