From: Mike Taylor Date: Tue, 8 Apr 2014 11:48:02 +0000 (+0100) Subject: Use Douglas Crockford's mkws.objectInheritingFrom rather than the X-Git-Tag: 1.0.0~982^2~1 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=e6527723984de4d3e2f5a92f33975f85697b81da Use Douglas Crockford's mkws.objectInheritingFrom rather than the built-in Object.create, which is not available in IE8. --- 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 + ']'; };