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:
e652772
)
Use Douglas Crockford's mkws.objectInheritingFrom rather than the
author
Mike Taylor
<mike@indexdata.com>
Tue, 8 Apr 2014 11:48:12 +0000
(12:48 +0100)
committer
Mike Taylor
<mike@indexdata.com>
Tue, 8 Apr 2014 11:48:12 +0000
(12:48 +0100)
built-in Object.create, which is not available in IE8.
src/mkws-widgets.js
patch
|
blob
|
history
diff --git
a/src/mkws-widgets.js
b/src/mkws-widgets.js
index
b5d1373
..
22b9820
100644
(file)
--- 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) {