Commit Graph
1204 Commits
Author SHA1 Message Date
Paul O’Shannessy 9162cb8abe react-core npm module 2013-12-06 11:56:29 -08:00
petehunt e839405202 muffinification 2013-12-06 11:56:29 -08:00
petehunt 5466d0a063 first work: __DEV__
fix invariant

Get browserify working

remove dead code elimination step since it is not needed due to minifier

use industry standard NODE_ENV
2013-12-06 11:56:29 -08:00
Paul O’Shannessy 9270d3d56e Merge pull request #592 from spicyj/guard-fn
ReactErrorUtils: In prod, just return the original
2013-12-06 11:31:02 -08:00
Ben Alpert 1be9a9e986 Bump version of wd
wd 0.2.2 gives `TypeError: Cannot call method 'jsCondition' of undefined` since #551; 0.2.6 is the latest and works so switch to that.
2013-12-05 17:13:52 -08:00
Paul Shen 12e765dd27 Revert "Don't mutate passed-in props"
This reverts https://github.com/facebook/react/pull/576

This approach mutates the default props for the instance on each update,
which causes incorrect behavior. discussed with @balpert. can look into
cloning but this unbreaks.
2013-12-05 16:53:43 -08:00
Paul O’Shannessy a7f6082c9c Merge pull request #636 from cpojer/rest-parameters-react
Add more useful ES6 transforms to jsx-internal.
2013-12-05 16:47:31 -08:00
Paul O’Shannessy 2ebbbc5145 Followup fix for lint 2013-12-05 15:55:49 -08:00
Paul O’Shannessy 7db8f818bc Merge remote-tracking branch 'spicyj/depth-not-owner' 2013-12-05 15:51:39 -08:00
Thomas Aylott 55e3b64ff4 Merge pull request #635 from subtleGradient/subtlegradient/fixes-webdriver-test
fixes webdriver issues
2013-12-05 14:55:52 -08:00
Thomas Aylott d035268c41 Merge pull request #617 from subtleGradient/subtlegradient/complexity-task
NEW `grunt complexity` reporting task
2013-12-05 14:55:17 -08:00
Ben Alpert d0883c8cc7 Use depth (not owner) to check for root components
Fixes #557.
2013-12-05 13:36:29 -08:00
Thomas Aylott 2807202ee7 bump webdriver timeouts
fixes #634
fixes #551
2013-12-05 16:27:26 -05:00
Thomas Aylott 60f2e45d2d fixes test runner for IE8 2013-12-05 16:27:26 -05:00
Thomas Aylott c222c46146 filter out tests from complexity report 2013-12-05 16:27:10 -05:00
Thomas Aylott 2b3e97b5a4 NEW grunt complexity reporting task 2013-12-05 16:27:10 -05:00
cpojer 31359e9962 Add more useful ES6 transforms to jsx-internal. 2013-12-05 10:20:24 -08:00
Paul O’Shannessy 09bdcefd4f Notify travis build results in IRC channel
If this gets noisy, we can change to only notify on change.
2013-12-04 21:19:24 -08:00
Paul O’Shannessy 2bbc42ce41 Update package devDependencies 2013-12-04 21:07:16 -08:00
Marshall Roch d17bd176a2 Remove support for putting mixins, propTypes, etc. in 'statics'
This leaves statics as a way to define static methods and properties
that will be accessible on the return value of `React.createClass`
without changing the current spec.
2013-12-04 20:27:44 -08:00
Sean Kinsey c2e48740fc [ReactTransitionGroup] Add onTransitionEnter and onTransitionLeave
It is valuable to know when the number of children in a TransitionGroup is going
to increase or decrease, since we might want to apply extra animations.
For instance, when used with overflow:auto, we might want to apply different css
based on it overflowing or not - to do this we need to calculate this after new
nodes has entered and after nodes has been removed.
2013-12-04 20:27:28 -08:00
John Watson bf24dc33f7 Separate replaceState invariant violations
It'd be nice if we knew which error we were hitting when this invariant hit.
2013-12-04 20:27:24 -08:00
Marshall Roch e3ad088ff3 Remove deprecation warning for React statics 2013-12-04 20:27:19 -08:00
Paul O'Shannessy 1b8bdbe177 Remove deprecated React.unmountAndReleaseReactRootNode 2013-12-04 20:27:15 -08:00
Marshall Roch 79b9d5af62 Introduce 'statics' for class specification
This moves the static properties off of the root object and into
a 'statics' property. Then they are made available on the constructor so
they can be used directly and in mixins.
2013-12-04 18:39:44 -08:00
Ben Newman 66f6cbad56 Merge pull request #535 from benjamn/commoner-cache-buster
Establish a convention for forcing jsx rebuilds.
2013-12-04 13:54:29 -08:00
Ben Newman 057c88ce52 s/jsxConfig/commonerConfig/g 2013-12-04 16:47:13 -05:00
Ben Newman 3527d9d91c Establish a convention for forcing jsx rebuilds.
Pull request #526 updated the behavior of vendor/constants.js without
changing any source files or the bin/jsx-internal script, so files that
should have been rebuilt (like utils/__tests__/ImmutableObject-test.js)
were not automatically rebuilt (unless you knew to do `grunt clean` or
`rm -rf .module-cache` manually).

This commit allows us to bump a version number when we know the transform
toolchain has been altered in a way that will not be visible to
commoner/jsx.

With this convention, if we reset to an older revision (e.g. during a git
bisect) and the appropriate cached module files are still in the
.module-cache/, they can be used without rebuilding. That's why I prefer
this approach to just deleting the .module-cache/.

Closes #104.
Closes #496.
Closes #530.
2013-12-04 16:36:59 -05:00
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 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 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