From: Jason Skomorowski Date: Tue, 23 Sep 2014 09:20:29 +0000 (-0400) Subject: Wrap mkws-widget-main.js to allow jQuery use. X-Git-Tag: 1.0.0~324^2~20 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=830c5e2c08791d5ada5edd081eeb7538cbe28531;p=mkws-moved-to-github.git Wrap mkws-widget-main.js to allow jQuery use. --- diff --git a/src/mkws-widget-main.js b/src/mkws-widget-main.js index fce4779..6731b1d 100644 --- 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