oops, initialise fixups per-object, not per-prototype
This commit is contained in:
parent
296b626ed9
commit
fd32362aa6
1 changed files with 1 additions and 2 deletions
|
@ -24,8 +24,6 @@ var Tinter = require("../../../Tinter");
|
|||
module.exports = React.createClass({
|
||||
displayName: 'TintableSvg',
|
||||
|
||||
fixups: [],
|
||||
|
||||
propTypes: {
|
||||
src: React.PropTypes.string.isRequired,
|
||||
width: React.PropTypes.string.isRequired,
|
||||
|
@ -34,6 +32,7 @@ module.exports = React.createClass({
|
|||
},
|
||||
|
||||
componentWillMount: function() {
|
||||
this.fixups = [];
|
||||
this.dispatcherRef = dis.register(this.onAction);
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in a new issue