From: Mike Taylor Date: Tue, 8 Apr 2014 11:48:12 +0000 (+0100) Subject: Use Douglas Crockford's mkws.objectInheritingFrom rather than the X-Git-Tag: 1.0.0~982^2 X-Git-Url: http://git.indexdata.com/?a=commitdiff_plain;h=eeacdfe977f8180e0ad19d00996c6c95b68e5c3b;hp=-c;p=mkws-moved-to-github.git Use Douglas Crockford's mkws.objectInheritingFrom rather than the built-in Object.create, which is not available in IE8. --- eeacdfe977f8180e0ad19d00996c6c95b68e5c3b diff --git a/src/mkws-widgets.js b/src/mkws-widgets.js index b5d1373..22b9820 100644 --- a/src/mkws-widgets.js +++ b/src/mkws-widgets.js @@ -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) {