projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7ef3654
)
Use Douglas Crockford's mkws.objectInheritingFrom rather than the
author
Mike Taylor
<mike@indexdata.com>
Tue, 8 Apr 2014 11:48:02 +0000
(12:48 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Tue, 8 Apr 2014 11:48:02 +0000
(12:48 +0100)
built-in Object.create, which is not available in IE8.
src/mkws-team.js
patch
|
blob
|
history
diff --git
a/src/mkws-team.js
b/src/mkws-team.js
index
a5a2d03
..
ee18f1b
100644
(file)
--- 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_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 + ']'; };
that.toString = function() { return '[Team ' + teamName + ']'; };