Paul O’Shannessy
145ca279f9
[examples] Update basic-commonjs for new React, watchify
2015-09-24 15:08:28 -07:00
Paul O’Shannessy
f1ede3e6d2
[examples] Fix transtion example with timeout prop
2015-09-24 15:08:28 -07:00
Paul O’Shannessy
c475699d6b
[examples] Use ReactDOM for appropriate APIs
2015-09-24 15:08:28 -07:00
Paul O’Shannessy
715dea085b
[examples] Use Babel
2015-09-24 15:08:27 -07:00
Paul O’Shannessy
4d3d14af78
[exmaples] Remove local 3rd party code, use CDN (mostly)
2015-09-24 14:57:50 -07:00
Paul O’Shannessy
16608e3688
[examples] Assume es5 compatible browsers with console
2015-09-24 14:57:50 -07:00
Paul O’Shannessy
78b50485f6
Merge pull request #4853 from zpao/jsfiddle-babel
...
[docs] Add jsfiddle integration for Babel
2015-09-24 14:54:13 -07:00
Paul O’Shannessy
4b6e5d06cf
Merge pull request #4961 from iamchenxin/en_docs
...
[docs] Fix syntac error
2015-09-24 09:48:34 -07:00
iamchenxin
82637eae45
Fix syntac error
...
Split {{ in example code to avoid an Exception in jekyll.
> Liquid Exception: Variable '{{' was not properly terminated with regexp: /\}\}/ in docs/10.1-animation.md
2015-09-24 23:46:22 +08:00
Jim
f988511b0a
Merge pull request #4960 from iamchenxin/translate
...
[docs] Sync up zh-CN docs
2015-09-24 08:03:14 -07:00
iamchenxin
7a316ab034
[docs] Sync up zh-CN docs
...
Sync up with current en docs.
2015-09-24 22:48:20 +08:00
Paul O’Shannessy
1ce5ba4c56
Merge pull request #4956 from reggi/patch-1
...
doc: typo existant to existent
2015-09-24 01:35:28 -07:00
Thomas Reggi
648cb52b72
doc: typo existant to existent
2015-09-23 19:56:26 -04:00
Paul O’Shannessy
d12ec60dd5
Merge pull request #4658 from zpao/iojs
...
Upgrade to node@4, jest@0.5
2015-09-23 14:01:48 -07:00
Paul O’Shannessy
873e3a9816
Cleanup Jest preprocessor, use cache key
2015-09-23 13:46:41 -07:00
Paul O’Shannessy
8857e12c9e
Use main document for getTestDocument
...
This should be fine in a jest environment, which is all we really care about now.
2015-09-23 13:46:41 -07:00
Paul O’Shannessy
2afc9a445f
Upgrade to node@4, jest@0.5
2015-09-23 13:46:41 -07:00
Ben Alpert
ab03f34965
Merge pull request #4951 from spicyj/gh-4840
...
Improve traverseAllChildren object error message
2015-09-23 12:17:35 -07:00
Ben Alpert
1922db1711
Improve traverseAllChildren object error message
...
Fixes #4840 .
2015-09-23 12:17:20 -07:00
Paul O’Shannessy
33e44f041b
Merge pull request #4944 from zpao/rm-event-path
...
Remove SyntheticEvent.path
2015-09-23 10:03:19 -07:00
Ben Alpert
7398606ccf
Merge pull request #4683 from JaeHunRo/master
...
temporarily fixes printWasted abnormality
2015-09-23 00:34:51 -07:00
Paul O’Shannessy
96b3ef54bf
Merge pull request #4935 from saifelse/fix-firefox-dom-sel
...
Fix ReactDOMSelection to avoid erroring on Firefox's anonymous divs
2015-09-22 17:57:24 -07:00
JaeHunRo
6244a985c4
updates printWasted
2015-09-23 01:46:31 +01:00
Ben Alpert
b06be9bc2d
Merge pull request #4946 from spicyj/nan
...
Improve error for style mutation
2015-09-22 16:34:05 -07:00
Ben Alpert
9faf1f3969
Improve error for style mutation
...
Fixes #4877 . I opted not to change shallowEqual for this since it seems relatively one-off.
2015-09-22 16:29:40 -07:00
Ben Alpert
8c75e792ab
Merge pull request #4945 from spicyj/nocatch-sim
...
Don't use magic browser event dispatching for simulated events
2015-09-22 15:41:00 -07:00
Ben Alpert
838b963f55
Merge pull request #4916 from spicyj/hwc
...
Add perf-counters npm module to scripts
2015-09-22 15:39:56 -07:00
Ben Alpert
57c516cb0e
Don't use magic browser event dispatching for simulated events
...
When calling ReactTestUtils.Simulate, sometimes you want to test that an exception is thrown by the event handler. This lets you do that without relying on the fact that old jsdom doesn't implement `Event`.
2015-09-22 15:31:08 -07:00
Saif Hakim
0267cfbb8f
Fix ReactDOMSelection to avoid erroring on Firefox's anonymous divs
2015-09-22 15:28:33 -07:00
Paul O’Shannessy
8a837cbd3f
Remove SyntheticEvent.path
2015-09-22 15:12:19 -07:00
Ben Alpert
0f67febad7
Merge pull request #3069 from WickyNilliams/patch-1
...
document checkbox using click handlers for change events
2015-09-22 14:34:40 -07:00
Paul O’Shannessy
06568114f3
Merge pull request #4931 from bspaulding/safe-taint-docs
...
Extracted "safe taint" in docs/homepage to align with best practice
2015-09-22 10:53:50 -07:00
Ben Alpert
c561324e7e
Merge pull request #4903 from spicyj/event-unmounted
...
Just ignore events on unmounted components
2015-09-22 09:54:04 -07:00
Bradley Spaulding
52d8d3b2ff
Extracted "safe taint" in docs/homepage to align with best practice #4212
2015-09-21 22:24:51 -07:00
Paul O’Shannessy
56ccd82374
Merge pull request #4921 from benjaffe/master
...
[docs] Clarify when autobinding does(n't) happens
2015-09-20 16:42:48 -07:00
Ben Jaffe
0203071251
Update 03-interactivity-and-dynamic-uis.md
...
This clarifies when autobinding does and does not happen. I spun my wheels on this for a while.
https://medium.com/@goatslacker/react-0-13-x-and-autobinding-b4906189425d
2015-09-20 09:38:50 -07:00
Ben Alpert
b3bccf2273
Add node bindings
2015-09-19 11:30:28 -07:00
Ben Alpert
e922f869e6
Make hardware-counter.cpp compile
...
`g++ -std=c++11 -lpthread src/hardware-counter.cpp
src/thread-local.cpp src/test.cpp` works and runs where `src/test.cpp` is:
```
int main() {
bool enable = true;
std::string events = "";
bool recordSubprocesses = false;
HPHP::HardwareCounter::Init(enable, events, recordSubprocesses);
HPHP::HardwareCounter::s_counter.getCheck();
int64_t start = HPHP::HardwareCounter::GetInstructionCount();
volatile int x;
for (int i = 0; i < 1000000; i++) {
x += i;
}
int64_t end = HPHP::HardwareCounter::GetInstructionCount();
printf("%d\n", end - start);
}
```
2015-09-19 11:00:27 -07:00
Ben Alpert
42e523ea4d
Update license to match React repo license
2015-09-19 11:00:27 -07:00
Ben Alpert
cfbf115b26
Add hardware-counter.cpp and deps from HHVM
2015-09-18 22:10:10 -07:00
Ben Alpert
88cdc27618
Merge pull request #4904 from spicyj/npm-2
...
Don't install npm 3 on Travis
2015-09-17 21:23:41 -07:00
Ben Alpert
45f85a6cc5
Just ignore events on unmounted components
...
Fixes #4865 and also seems to fixes #3790 .
2015-09-17 17:42:01 -07:00
Ben Alpert
41e4bfb41a
Don't install npm 3 on Travis
2015-09-17 17:37:00 -07:00
Paul O’Shannessy
aac4219e80
Merge pull request #4899 from iamchenxin/master
...
Update zh-CN docs.
2015-09-17 12:22:04 -07:00
iamchenxin
2a5e6b3c91
Update zh-CN translation.
...
To keep up with en docs.
2015-09-18 02:31:11 +08:00
Paul O’Shannessy
e147c4942b
[docs] Remove unused file
2015-09-16 14:09:52 -07:00
Paul O’Shannessy
d42254c40f
Merge pull request #4891 from igncp/documentation-fix
...
Fix documentation errata
2015-09-16 13:48:09 -07:00
Ignacio Carbajo
e11631eea7
Fix documentation errata
2015-09-16 22:25:46 +02:00
Paul O’Shannessy
f9bbc06960
Merge pull request #4858 from zpao/eslint-1.4
...
Upgrade eslint to 1.4.1
2015-09-16 12:35:12 -07:00
Paul O’Shannessy
20f0b0f464
Upgrade eslint to 1.4.1
2015-09-16 12:16:46 -07:00