Redundant
[mkws-moved-to-github.git] / src / mkws-widget.js
index d57620b..3712764 100644 (file)
@@ -1,5 +1,5 @@
 // Factory function for widget objects.
-function widget($, team, type, node) {
+mkws.makeWidget = function($, team, type, node) {
   // Static register of attributes that do not contribute to config
   var ignoreAttrs = {
     id:1, 'class':1, style:1, name:1, action:1, type:1, size:1,
@@ -187,4 +187,4 @@ function widget($, team, type, node) {
   }
 
   return that;
-}
+};