From 830c5e2c08791d5ada5edd081eeb7538cbe28531 Mon Sep 17 00:00:00 2001 From: Jason Skomorowski Date: Tue, 23 Sep 2014 05:20:29 -0400 Subject: [PATCH] Wrap mkws-widget-main.js to allow jQuery use. --- src/mkws-widget-main.js | 3 +++ 1 file changed, 3 insertions(+) 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 -- 1.7.10.4