CommitSyncScript
2af5be4c4c
Support rendering different components into same node
...
var container = ...; // some DOM node
React.renderComponent(<div />, container);
React.renderComponent(<span />, container);
This should replace the rendered <div> with a <span>, effectively
reconciling at the root level.
(cherry picked from commit 100af48f53 )
2013-06-20 10:57:26 -07:00
Ben Newman
603c9ef6a8
Implement constructor-aware binding per @zpao's request.
...
When the function to be bound does not have a prototype, ignore the constructor case.
2013-06-03 13:20:13 -04:00
Ben Newman
42f8d155f8
Silence tests unsupported in PhantomJS.
...
These tests can still be run in the browser using `grunt test --debug`.
2013-06-03 13:20:13 -04:00
Ben Newman
03f92bb155
Polyfill Function.prototype.bind during tests.
2013-06-03 13:20:13 -04:00
Ben Newman
f8af93237a
Use bin/jsx and browserify to build a jasmine bundle.
2013-06-03 13:20:13 -04:00
Cam Spiers
415192c001
Add attributes used in input[type=range]
2013-06-02 13:32:12 +12:00
Paul O’Shannessy
75897c2dcd
Initial public release
2013-05-29 12:54:02 -07:00