Commit Graph

1702 Commits

Author SHA1 Message Date
Paul O’Shannessy b9cd2f0d3d Merge branch 'reorg' 2014-02-04 19:51:55 -08:00
Paul O’Shannessy 2435b66840 Fix version check test 2014-02-04 19:49:58 -08:00
Paul O’Shannessy a528beeda9 Put ReactWithAddons in browser/ 2014-02-04 19:49:58 -08:00
Pete Hunt 1a39c3143c The great reorg of February 2014 2014-02-04 19:49:58 -08:00
cpojer a21979404c Add canUseEventListeners to ExecutionEnvironment. 2014-02-04 15:09:41 -08:00
Pete Hunt 9730759322 Fix cloneWithProps() to allow overriding props
This is a clear bug.
2014-02-04 14:37:53 -08:00
Pete Hunt 945f788a41 React.Children helpers
Adds React.Children and map(), forEach() and only().
2014-02-04 14:37:44 -08:00
Paul O’Shannessy 8d1d29286a Merge pull request #1013 from bripkens/lint
Fix use strict warnings
2014-02-04 12:39:41 -08:00
Pete Hunt 7aaa3a4ed1 Merge pull request #922 from spicyj/submit-submit
Fix double-binding to submit event
2014-02-04 10:25:34 -08:00
Pete Hunt 3642b6ea62 Merge pull request #982 from bripkens/async-tostring
fix(ServerRendering): execution should be async
2014-02-04 10:24:22 -08:00
Paul O’Shannessy bced44533f Merge pull request #967 from syranide/noie8catch
Remove unnecessary catch-clauses for try-finally
2014-02-04 10:11:06 -08:00
Andreas Svensson f9bb6e46f1 Remove unnecessary catch-clauses for try-finally 2014-02-04 18:07:34 +01:00
Ben Ripkens e14555caed Use lowercase "string" so that the documentation complies with typecheckers 2014-02-04 09:05:52 +01:00
Ben Ripkens 220687abda Add new lines above use strict and keep directives at the top 2014-02-04 07:47:35 +01:00
Pete Hunt 0dc0b45f3c Merge pull request #1018 from stoyan/patch-2
joe -> la web speed
2014-02-03 22:31:23 -08:00
Stoyan c8a2018228 Update videos.md 2014-02-03 22:09:00 -08:00
Paul O’Shannessy 19ff353fdd Merge pull request #975 from spicyj/transaction-no-catch
Refactor Transaction to not rethrow errors
2014-02-03 21:43:27 -08:00
Paul O’Shannessy 4992423547 Merge pull request #1005 from jjt/boolattr
Fix boolean attributes as per HTML5 spec
2014-02-03 18:17:46 -08:00
Ben Newman 6d4b470cfc Merge pull request #1016 from benjamn/revert-pure-cjs-until-0.9
Revert commits switching from browserify to pure-cjs (on hold until after v0.9 ships).
2014-02-03 16:09:37 -08:00
Ben Newman 9f1ed709d0 Revert "Switched from browserify to pure-cjs bundler."
This reverts commit bff9731b66.
2014-02-03 19:05:22 -05:00
Ben Newman 77c53dd5d4 Revert "More optimizations and fix for JSXTransformer build"
This reverts commit f1b7db9aef.
2014-02-03 19:05:15 -05:00
Ben Newman e994e06c54 Revert "Removed redundant uglification"
This reverts commit 86373d924c.
2014-02-03 19:05:09 -05:00
Ben Newman 806e879566 Merge pull request #1002 from RReverser/pure-cjs
Switch from browserify to pure-cjs bundler.
2014-02-03 16:01:13 -08:00
Pete Hunt fa046ca04e Merge pull request #963 from bobeagan/patch-1
Replace "comments.json" with this.props.url in the docs tutorial code snippet
2014-02-03 15:08:17 -08:00
azure provisioned user 86373d924c Removed redundant uglification
Removed uglification for separate files since it significantly slowed down build (browserify:min became 26 sec instead of 110, same for :addonsMin) while gave economy in ~70 bytes for min+gz version.
2014-02-03 22:06:38 +00:00
Cheng Lou 5dabba999b add missing 'use strict' to getTestDocument 2014-02-03 12:52:46 -08:00
Cheng Lou 57bf7d21f3 fix transaction comment from componentDidRender to componentDidUpdate 2014-02-03 12:52:36 -08:00
Ben Newman ce95c3d042 [React] Don't attach to document in ReactTestUtils.renderIntoDocument. 2014-02-03 12:51:34 -08:00
Ben Ripkens 92fdc1562d Use strict in tests 2014-02-03 20:29:33 +01:00
Ben Ripkens 4e9352f8f8 Fix use strict warnings 2014-02-03 13:11:51 +01:00
Ben Ripkens cd2aecc377 fix(ServerRendering): execution should be sync
The documentation states that React.renderComponentToString
'uses a callback API to keep the API async', but the
implementation is actually synchronous. In order to maintain
this contract the callback should always be called
asynchronously or be change to a synchronous API.

As per the discussion of pull request 982, the API should
be changed to a synchronous one.
2014-02-03 11:39:09 +01:00
Pete Hunt 85270ae154 Merge pull request #1012 from jaredly/patch-1
adding a link to react-router
2014-02-02 13:34:58 -08:00
Jared Forsyth 92a20220e7 adding a link to react-router 2014-02-02 01:23:12 -07:00
Pete Hunt e4d1618f63 Update example-apps.md 2014-02-01 18:43:12 -08:00
Christopher Chedeau 78f3addd01 Merge pull request #1011 from petehunt/complementary-tools
Add a complementary tools page
2014-02-01 18:36:45 -08:00
Christopher Chedeau 036303ee90 Merge pull request #1010 from petehunt/meteorvid
Add link to meteor talk
2014-02-01 18:35:43 -08:00
petehunt 26c6ea961b add example apps page 2014-02-01 18:11:00 -08:00
petehunt aaada5e212 Add a complementary tools page 2014-02-01 17:43:56 -08:00
Pete Hunt f18bda51d6 Update videos.md 2014-02-01 17:01:52 -08:00
petehunt 3119d66e26 Add link to meteor talk 2014-02-01 17:01:19 -08:00
Ben Alpert 98432365d9 [docs] Fix comma splice 2014-01-31 22:30:38 -08:00
Ben Alpert a2e805b26e Disable CodeMirror smart indentation
Fixes #966.
2014-01-31 22:10:37 -08:00
jjt f7949c1c23 Fix boolean attributes as per HTML5 spec 2014-01-31 17:24:48 -08:00
Paul O’Shannessy fce6d114fe Merge pull request #973 from syranide/hidethekill
Fix references to the old ReactID syntax
2014-01-31 15:33:57 -08:00
Ingvar Stepanyan f1b7db9aef More optimizations and fix for JSXTransformer build
* Dropped dependency on emulation of Node.js native modules.
* Added deamdify step for JSXTransformer build.
2014-01-31 21:53:08 +02:00
Christopher Chedeau f1b54bc310 s/Mock DOM/Virtual DOM/
Let's be consistent with the naming
2014-01-31 10:57:06 -08:00
Ingvar Stepanyan bff9731b66 Switched from browserify to pure-cjs bundler. 2014-01-31 18:25:09 +02:00
Sebastian Markbåge 1666935878 Merge pull request #1001 from kmeht/renderComponentDocs
Add documentation about React.renderComponent
2014-01-30 17:29:59 -08:00
Kunal Mehta 43a242b67f Add documentation about React.renderComponent
Recently learned that components passed into `React.renderComponent` may not be the ones actually mounted. Also learned that it returns the mounted component. Added some documentation describing this.
2014-01-30 17:14:59 -08:00
Josh Duck 5d7563f706 Fix warning for numeric properties
Number('.1') === 0.1, and react uses dot-prefixed keys
for children. Whoops. Nuke the non-numeric requirement, and just
check a regex. This seems performant enough in micro-benchmarks:
http://jsperf.com/numericlike
2014-01-30 16:54:01 -08:00