Use Douglas Crockford's mkws.objectInheritingFrom rather than the
[mkws-moved-to-github.git] / src / mkws-widgets.js
index b5d1373..22b9820 100644 (file)
@@ -10,7 +10,7 @@ function widget($, team, type, node) {
        team: team,
        type: type,
        node: node,
-       config: Object.create(team.config())
+       config: mkws.objectInheritingFrom(team.config())
     };
 
     function log(s) {