Commit Graph
4161 Commits
Author SHA1 Message Date
Paul O’Shannessy 62ba501beb Merge pull request #3576 from chenglou/last-getdomnode
Remove last call to `getDOMNode` in tests
2015-04-02 15:00:39 -07:00
Cheng Lou bb82c8aa68 Remove last call to getDOMNode in tests 2015-04-02 17:26:19 -04:00
Ben Alpert e5daadb70b Merge pull request #3555 from spicyj/native-overrides
Import ResponderEventPlugin from react-native
2015-04-02 14:13:35 -07:00
Paul O’Shannessy ac92a6366b Merge pull request #3574 from rogozhnikoff/patch-1
Increase speed of shallowEqual
2015-04-02 13:55:11 -07:00
Ben Alpert 33fc611ab7 Fix ResponderEventPlugin to work in core React again
Test Plan: jest, grunt fasttest
2015-04-02 13:33:47 -07:00
Murad 3e8dd23b71 Update shallowEqual.js 2015-04-03 03:44:37 +08:00
Ben Alpert b4225f4525 Merge pull request #3572 from iamdoron/patch-1
use 'forEach' instead of 'map' when clearing intervals
2015-04-02 11:29:49 -07:00
Murad 61c5d58a9e Update shallowEqual.js
optimize for lint rules
2015-04-03 00:12:07 +08:00
Murad 9bc25326d9 Increase speed of shallowEqual
All testes successfully completed.

- for-in in browsers is slow, i replaced him by Object.keys + for(array)
- simple check of lengths let us not iterate if not same
- now we dont need to test for B's keys missing from A, because if length's is same and prev check success - objB hasn't more keys
- micro optimize: calling objB.hasOwnProperty
- micro optimize: replaced !objA || !obj for more speedy check === null

#inspiredby https://github.com/jurassix/react-immutable-render-mixin/pull/4
2015-04-02 23:43:29 +08:00
iamdoron 66a88df782 use 'forEach' instead of 'map' when clearing intervals 2015-04-02 14:06:08 +03:00
Jim c8afa1833a Merge pull request #3560 from mariodu/mariodu
fix render order error in safari.  Fixes #3560.
2015-04-01 17:40:09 -07:00
Ben Alpert 19b6f66291 Merge pull request #3564 from spicyj/travis
Fix inverted feature test in .travis.yml
2015-04-01 15:17:32 -07:00
Ben Alpert 1d5c470db0 Fix inverted feature test in .travis.yml
I messed this up in #3540.
2015-04-01 15:12:17 -07:00
Ben Alpert 78225c3257 Use setState transaction for TransitionGroup instead of extra property 2015-04-01 14:34:01 -07:00
Ben Alpert 5d8ff84ba1 Merge pull request #2549 from ashtuchkin/fix-transitiongroup-multiremove
Fix ReactTransitionGroup behavior when removing several children at once
2015-04-01 14:33:42 -07:00
Paul O’Shannessy d76eacc30a Merge pull request #3563 from quizlet/fix-addons-hasownproperty
Fix immutability helper to check hasOwnProperty safely
2015-04-01 12:38:04 -07:00
Jeff Chan c62d88ffed Fix immutability helper to check hasOwnProperty safely
This makes `update({}, {'hasOwnProperty': {$set: 'yolo'}})` work.
2015-04-01 12:25:12 -07:00
Paul O’Shannessy ec449a480a Merge pull request #3562 from dalinaum/rename
Rename 19--dangerouslySetInnerHTML.md -> 19-dangerously-set-inner-html.md
2015-04-01 12:13:55 -07:00
Leonardo YongUk Kim 191c866230 Rename 19--dangerouslySetInnerHTML.md -> 19-dangerously-set-inner-html.md
1. It had double dash.
2. Its name was inconsistent. Other tips are named by their IDs.
2015-04-02 04:11:22 +09:00
凌恒 52b678eb71 update comment 2015-04-01 23:59:43 +08:00
凌恒 ae3a7c1387 deal IE8 out of size error 2015-04-01 23:56:05 +08:00
凌恒 b87c8dcce7 use ie8 feature detect instead of try catch 2015-04-01 21:46:40 +08:00
凌恒 8869ddb043 fix render order error in safari 2015-04-01 18:13:03 +08:00
Ben Alpert 480ebc6a3f Fix unused variable lint from #3552 2015-03-31 17:06:42 -07:00
Ben Alpert 7a2eea9267 Merge pull request #3556 from wali-s/patch-1
Fix small typo in 11-advanced-performance.md.
2015-03-31 17:03:15 -07:00
Ahmad Wali Sidiqi fcc224126b Fix small typo in 11-advanced-performance.md.
"React didn't even had"->"React didn't even have"

http://english.stackexchange.com/questions/204603/proper-usage-of-didnt-had-or-didnt-have
2015-03-31 16:18:45 -07:00
Ben Alpert cfd0663a16 Import ResponderEventPlugin from react-native
This is a direct import of the files from react-native, with the license headers updated.
2015-03-31 15:21:47 -07:00
Paul O’Shannessy 4aa984d450 Merge pull request #3534 from tonyspiro/master
Update index.html in transitions example
2015-03-31 13:49:50 -07:00
Paul O’Shannessy 5c470d1f53 Merge pull request #3552 from James-Dunn/fix-for-loops
Remove caching from for loops
2015-03-31 10:30:44 -07:00
James 5a811f201d Remove caching from for loops
Removed caching from for loops as it does not seem to increase
performance and makes the code harder to read.
2015-03-31 10:22:52 +04:00
Paul O’Shannessy da2f0b105c Merge pull request #3519 from jonchester/patch-1
Add IE-specific 'unselectable' attribute
2015-03-30 15:27:13 -07:00
Paul O’Shannessy 086577518a Merge pull request #3537 from marocchino/korean-update
Update Korean translations
2015-03-30 14:20:37 -07:00
Ben Alpert 11a693c310 Merge pull request #3549 from spicyj/trans-sync
Sync transforms from internal
2015-03-30 14:15:09 -07:00
Ben Alpert 800cd6c208 Merge pull request #3445 from mihaip/master
Use full chain of member expressions when generating display names.
2015-03-30 11:46:54 -07:00
Ben Alpert 15bb82a355 Sync transforms from internal 2015-03-30 11:43:26 -07:00
Ben Alpert 25215aedf8 Squelch git warning on Travis 2015-03-30 11:25:55 -07:00
Ben Alpert a09b351c40 Set name and email a different way 2015-03-30 11:20:23 -07:00
Ben Alpert 8f0ad58d18 Set git name and email for Travis 2015-03-30 11:16:36 -07:00
Ben Alpert 08ffdffcf8 [docs] English tweaks (and testing Travis) 2015-03-30 11:10:44 -07:00
Ben Alpert d69441faeb Merge pull request #3540 from spicyj/auto-gh-pages
Autobuild website on Travis from stable branch
2015-03-30 10:57:06 -07:00
Ben Alpert 1c6f30663a Autobuild website on Travis from stable branch
$REACT_WEBSITE_BRANCH in https://travis-ci.org/facebook/react/settings/env_vars now needs to point to the stable branch (currently 0.13-stable). I haven't tested the commit-and-push part of this but everything else works so I'm hopeful.
2015-03-30 10:56:41 -07:00
Ben Alpert f2cdaa2547 Merge pull request #3543 from spicyj/keep-docs-js-react
Keep docs/js/{react,JSXTransformer}.js in repo
2015-03-30 10:55:29 -07:00
jonchester 7f87ef65b2 Add IE-specific 'unselectable' attribute
I ended up needing to add this attribute to work around a common IE bug, that clicking on a scrollbar gives focus to the scroll container. I needed to set it as MUST_USE_ATTRIBUTE or the attribute would not be passed through by React successfully.

remove trailing spaces
2015-03-30 07:44:08 -07:00
Christopher Chedeau e34d419c66 Merge pull request #3545 from vjeux/roundup_26
Roundup 26
2015-03-30 07:23:20 -07:00
Christopher Chedeau d81033b75c Roundup 26 2015-03-29 20:02:40 -07:00
Paul O’Shannessy 6b3acb521d Merge pull request #3544 from prathamesh-sonpatki/fix-link-to-display-name
Fixed link to displayName component spec from JSX in depth article
2015-03-29 10:30:24 -07:00
Prathamesh Sonpatki a28467739c Fixed link to displayName component spec from JSX in depth article 2015-03-29 16:50:33 +05:30
Paul O’Shannessy 841e9b8ef6 Merge pull request #3539 from russellpwirtz/patch-1
Update tutorial.md
2015-03-28 21:26:29 -07:00
Ben Alpert 781fa91eef Keep docs/js/{react,JSXTransformer}.js in repo
This way we don't need to rebuild them each time for the website.
2015-03-28 14:56:54 -07:00
Russ b8814969e8 Update tutorial.md
Grammar fix
2015-03-28 11:37:55 -07:00