[IMP] update to react 0.13
This commit is contained in:
parent
3a50541a59
commit
d2cc62be72
@ -45,7 +45,7 @@
|
||||
" ",
|
||||
label
|
||||
);
|
||||
}).toArray());
|
||||
}));
|
||||
}
|
||||
});
|
||||
|
||||
@ -86,7 +86,7 @@
|
||||
(data.get('debit') - data.get('credit')) || ''
|
||||
)
|
||||
);
|
||||
}).toArray()
|
||||
})
|
||||
)
|
||||
);
|
||||
},
|
||||
|
@ -41,7 +41,7 @@
|
||||
' ',
|
||||
entry.get('title')
|
||||
);
|
||||
}, this).toArray(),
|
||||
}, this),
|
||||
this.props.entry && React.DOM.p(null, this.props.entry.get('help'))
|
||||
);
|
||||
}
|
||||
@ -79,7 +79,7 @@
|
||||
},
|
||||
render_rows: function () {
|
||||
if (!this.props.entry) { return; }
|
||||
return this.props.entry.get('operations').map(this.render_row).toArray();
|
||||
return this.props.entry.get('operations').map(this.render_row);
|
||||
},
|
||||
render_row: function (entry, index) {
|
||||
if (!entry) {
|
||||
@ -108,7 +108,7 @@
|
||||
null,
|
||||
this.props.items.map(function (item, index) {
|
||||
return React.DOM.li({key: index}, item);
|
||||
}).toArray()
|
||||
})
|
||||
)
|
||||
);
|
||||
}
|
||||
|
9852
_static/react.js
vendored
9852
_static/react.js
vendored
File diff suppressed because it is too large
Load Diff
14
_static/react.min.js
vendored
14
_static/react.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user