[IMP] update to react 0.13

This commit is contained in:
Xavier Morel 2015-03-11 14:20:13 +01:00
parent 3a50541a59
commit d2cc62be72
4 changed files with 5811 additions and 4065 deletions

View File

@ -45,7 +45,7 @@
" ", " ",
label label
); );
}).toArray()); }));
} }
}); });
@ -86,7 +86,7 @@
(data.get('debit') - data.get('credit')) || '' (data.get('debit') - data.get('credit')) || ''
) )
); );
}).toArray() })
) )
); );
}, },

View File

@ -41,7 +41,7 @@
' ', ' ',
entry.get('title') entry.get('title')
); );
}, this).toArray(), }, this),
this.props.entry && React.DOM.p(null, this.props.entry.get('help')) this.props.entry && React.DOM.p(null, this.props.entry.get('help'))
); );
} }
@ -79,7 +79,7 @@
}, },
render_rows: function () { render_rows: function () {
if (!this.props.entry) { return; } 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) { render_row: function (entry, index) {
if (!entry) { if (!entry) {
@ -108,7 +108,7 @@
null, null,
this.props.items.map(function (item, index) { this.props.items.map(function (item, index) {
return React.DOM.li({key: index}, item); return React.DOM.li({key: index}, item);
}).toArray() })
) )
); );
} }

9298
_static/react.js vendored

File diff suppressed because it is too large Load Diff

14
_static/react.min.js vendored

File diff suppressed because one or more lines are too long