From eeacdfe977f8180e0ad19d00996c6c95b68e5c3b Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 8 Apr 2014 12:48:12 +0100 Subject: [PATCH] Use Douglas Crockford's mkws.objectInheritingFrom rather than the built-in Object.create, which is not available in IE8. --- src/mkws-widgets.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 1.7.10.4