From e6527723984de4d3e2f5a92f33975f85697b81da Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Tue, 8 Apr 2014 12:48:02 +0100 Subject: [PATCH] Use Douglas Crockford's mkws.objectInheritingFrom rather than the built-in Object.create, which is not available in IE8. --- src/mkws-team.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mkws-team.js b/src/mkws-team.js index a5a2d03..ee18f1b 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -27,7 +27,7 @@ function team($, teamName) { }; var m_paz; // will be initialised below var m_template = {}; - var m_config = Object.create(mkws.config); + var m_config = mkws.objectInheritingFrom(mkws.config); that.toString = function() { return '[Team ' + teamName + ']'; }; -- 1.7.10.4