Ben Newman
affe7f98b5
Merge pull request #367 from benjamn/findComponentRoot-memory-usage-improvements
...
Space optimizations for ReactMount.findComponentRoot.
2013-12-04 13:20:29 -08:00
Paul O’Shannessy
bcd7b5d194
Merge pull request #630 from spicyj/remove-updatePropertiesByID
...
Remove unused updatePropertiesByID
2013-12-04 10:34:35 -08:00
Ben Alpert
9d443542f9
Remove unused updatePropertiesByID
2013-12-03 19:22:36 -08:00
Ben Newman
87db648f3e
Address pull request feedback.
2013-12-03 16:43:37 -05:00
Ben Newman
6b9fc81b64
Space optimizations for ReactMount.findComponentRoot.
2013-12-03 16:43:37 -05:00
Vjeux and Paul O’Shannessy
e4909d0f2e
Add video at the bottom of the front page
2013-12-03 12:11:12 -08:00
Paul O’Shannessy
9d18956b09
Merge pull request #624 from spicyj/remove-registrationNamesKeys
...
Remove unused event plugin registrationNamesKeys
2013-12-02 16:03:36 -08:00
Paul O’Shannessy
cd3bfe64d4
Fix blog pagination
...
I missed this in the Jekyll upgrade.
2013-12-02 15:46:20 -08:00
Paul O’Shannessy
241f4d29b2
[docs] Fix download links to addons builds
2013-12-02 15:13:49 -08:00
Pete Hunt and Paul O’Shannessy
3851462b80
Fix lint warnings
2013-12-02 13:32:09 -08:00
Paul O’Shannessy
76e3294c8f
Merge pull request #609 from subtleGradient/subtlegradient/fixes-ios-crasher
...
fixes iOS crasher
2013-12-02 13:25:40 -08:00
Paul O’Shannessy
d64256fb65
Merge pull request #626 from spicyj/getUnboundedScrollPosition-license
...
Add missing license header
2013-12-02 09:07:07 -08:00
petehunt
00adabc20d
Fix frontpage example to retain selection
2013-12-02 04:04:45 -08:00
Ben Alpert
1cb402c410
Add missing license header
2013-12-02 01:12:20 -08:00
Pete Hunt
e923e22c16
Merge pull request #625 from spicyj/patch-3
...
Tweaks to README
2013-12-01 23:06:51 -08:00
Ben Alpert
55cd8bee35
Tweaks to README
...
Most significant change is updating the leading copy to match #440 .
2013-12-01 22:49:46 -08:00
Ben Alpert
4323ab095f
Remove unused event plugin registrationNamesKeys
2013-12-01 22:28:19 -08:00
Pete Hunt
22dc8fa765
Merge pull request #602 from chenglou/tips-bind
...
docs tips pass arguments to callbacks
2013-12-01 19:07:14 -08:00
Cheng Lou
e98244adb5
docs tips parent-child communication
2013-12-01 21:39:22 -05:00
Pete Hunt
92b62bf1fe
Merge pull request #576 from spicyj/immutable-props
...
Don't mutate passed-in props
2013-12-01 18:26:41 -08:00
Pete Hunt
2a84b6c6b2
Merge pull request #537 from hojberg/dont_animate_undefined_children
...
ReactTransitions: Don't animate undefined children
2013-12-01 14:21:11 -08:00
Pete Hunt
285e3a8929
Merge pull request #440 from petehunt/new-taglines
...
New marketing copy
2013-12-01 14:00:13 -08:00
Pete Hunt
ab36b114fc
Merge pull request #581 from chenglou/docs-select-value
...
docs `select` `value` to control chosen option
2013-12-01 13:53:12 -08:00
Paul O’Shannessy
d8a1dbb19c
Merge pull request #618 from chenglou/didmout-didUpdate-new
...
docs remove rootNode for componentDidMount/Update
2013-11-27 18:50:10 -08:00
Cheng Lou
cffb115480
docs remove rootNode for componentDidMount/Update
2013-11-27 21:46:02 -05:00
Paul O’Shannessy
98b9e2faeb
Merge pull request #599 from chenglou/dl-addons
...
docs add download links for react-with-addons
2013-11-27 14:48:42 -08:00
Cheng Lou
11638b7824
docs add download links for react-with-addons
2013-11-27 17:31:27 -05:00
Paul O’Shannessy
8fbdb50a9d
Merge pull request #597 from spicyj/gh-527
...
Don't use .returnValue if .defaultPrevented exists
2013-11-27 14:28:26 -08:00
Paul O’Shannessy
5fbd8109f8
Merge pull request #598 from spicyj/gh-516
...
Be resilient to fn.name not existing in IE
2013-11-27 14:28:02 -08:00
Paul O’Shannessy
126ef094fc
Merge pull request #593 from spicyj/run-lint
...
Run lint on Travis in a matrix
2013-11-27 14:14:33 -08:00
Thomas Aylott
916ee6b394
jsx & JSDOM support
2013-11-27 17:04:40 -05:00
Ben Alpert
2104327ba1
Run lint automatically on Travis (in a matrix)
2013-11-27 16:53:57 -05:00
Paul O’Shannessy
42eef0e9d6
Merge pull request #610 from chenglou/jsx-js
...
make docs jsx compiler highlight transpiled js code
2013-11-27 12:22:51 -08:00
Paul O’Shannessy
e31fdfd0b3
Merge pull request #616 from davidhellsing/patch-1
...
Backbone example: changed key from Math.random() to todo.cid
2013-11-27 12:14:40 -08:00
Marshall Roch and Paul O’Shannessy
697a9113c0
ReactPropTypes: add oneOfType to support union types
...
Summary:
e.g.
propTypes: {
foo: React.PropTypes.oneOfType([
React.PropTypes.string,
React.PropTypes.number
]);
}
to do this, I exposed a `.weak` chainable validator that returns instead of throws, e.g.
React.PropTypes.string.isRequired.weak
React.PropTypes.string.weak
which returns true or false. Technically, `React.PropTypes.string.weak.isRequired` also exists, but `oneOfType` will never call it. Might be useful to people creating custom validators though.
2013-11-27 12:10:50 -08:00
Marshall Roch and Paul O’Shannessy
351dcfed01
Validate propTypes, contextTypes, childContextTypes
...
who watches the watchmen?
2013-11-27 12:10:50 -08:00
Pete Hunt and Paul O’Shannessy
fcfe516a2e
Less verbose ReactPropTypeLocations logging
...
Since we use keyMirror() and invariant() messages are only shown in __DEV__, we don't have to do manual constant->string translation. Also fixes a few
undefined keys that just happened to work before.
2013-11-27 12:10:50 -08:00
Paul O’Shannessy
9886e40395
Merge pull request #594 from spicyj/skip-spec
...
Allow running one spec/suite in the web interface
2013-11-27 11:54:31 -08:00
Paul O’Shannessy
a7811fb75b
Merge pull request #595 from spicyj/old-logger
...
Remove reference to old browser logger
2013-11-27 11:46:15 -08:00
David Hellsing
a79ef7fc29
Changed key from Math.random() to todo.cid
...
It doesn’t make much sense to generate a random key for each todo render, because it will re-draw all todo’s DOM nodes on each model change. I changed it to the unique identifier ``todo.cid`` already supplied by the backbone model.
2013-11-26 18:07:56 +01:00
Cheng Lou
92ea31c7b7
make docs jsx compiler highlight transpiled js code
2013-11-25 19:04:28 -05:00
Thomas Aylott
f4753030a2
IE support
2013-11-25 16:02:01 -05:00
Thomas Aylott
3bfb687de3
remove warning comment about createHTMLDocument
2013-11-25 15:08:00 -05:00
Thomas Aylott
eebad16636
Use an iframe to create a testDocument…
...
instead of `createHTMLDocument` since it isn't fully support by the browsers we care about.
fixes #606
fixes #454
2013-11-25 15:05:35 -05:00
Thomas Aylott
564c8669f8
Merge pull request #596 from spicyj/gh-532
...
'getElementsByClassName' doesn't exist in IE8
2013-11-25 09:29:52 -08:00
Pete Hunt
a7f0afceec
Merge pull request #589 from balanceiskey/master
...
Minor spelling correction in docs
2013-11-24 20:53:35 -08:00
Ben Newman
1f8f0ae2d6
Merge pull request #601 from spicyj/commoner-088
...
Update commoner to 0.8.8 for Windows support.
2013-11-24 13:06:59 -08:00
Ben Alpert
0e2840abce
Update commoner to 0.8.8 for Windows support
...
benjamn/commoner#44 fixed commoner to work on Windows when module path relativization isn't used; with this, the `jsx` binary should work properly on Windows (though `jsx-internal` still won't).
Fixes #316 , fixes #391 , fixes #567 .
2013-11-24 16:02:01 -05:00
Ben Alpert
685dec022a
Be resilient to fn.name not existing in IE
...
Fixes #516 .
2013-11-24 01:53:53 -05:00
Ben Alpert
4bd0a40037
Don't use .returnValue if .defaultPrevented exists
...
`.defaultPrevented` exists in IE9+. I checked in IE9, Chrome, and Firefox that it does default to `false`.
Fixes #527 .
2013-11-24 01:35:49 -05:00