.PopupWindow -> .WmkwsPopup
[mkws-moved-to-github.git] / src / mkws-widget-builder.js
index 22f016d..60ee37b 100644 (file)
@@ -2,11 +2,11 @@ mkws.registerWidgetType('Builder', function() {
   var that = this;
   var team = this.team;
 
-  this.button = $('<button/>', {
+  this.button = mkws.$('<button/>', {
     type: 'button',
     text: this.config.text || "Build!"
   });
-  $(this.node).append(this.button);
+  this.node.append(this.button);
   this.button.click(function() {
     var   query = team.widget('Query').value();
     var    sort = team.widget('Sort').value();
@@ -24,6 +24,6 @@ mkws.registerWidgetType('Builder', function() {
 mkws.registerWidgetType('ConsoleBuilder', function() {
   mkws.promotionFunction('Builder').call(this);
   this.callback = function(s) {
-    console.log("Generated widget: " + s);
+    console.log("generated widget: " + s);
   }
 });