Paul O’Shannessy
2eb6cf6dd0
Readme + Changelog for 0.12.2
...
(cherry picked from commit 7468f092ae )
2014-12-18 12:47:32 -08:00
Paul O’Shannessy
3c2fc6440e
update docs for 0.12.2 changes
...
(cherry picked from commit e6e60c4fa8 )
2014-12-18 12:47:32 -08:00
Sebastian Markbåge
702eef0bf0
Merge pull request #2740 from facebook/revert-2613-monitor-cloneWithProps
...
Revert "Monitoring code use of cloneWithProps"
2014-12-18 12:13:34 -08:00
Sebastian Markbåge
7354a699ff
Revert "Monitoring code use of cloneWithProps"
2014-12-18 12:13:09 -08:00
Paul O’Shannessy
11785db573
Merge pull request #2727 from zpao/update-npm-deps
...
Update NPM dependencies
2014-12-17 16:56:14 -08:00
Paul O’Shannessy
c17ea85483
Merge pull request #2732 from zpao/travis-container
...
Use containers on TravisCI
2014-12-17 16:54:12 -08:00
Paul O’Shannessy
2620161d93
Merge pull request #2733 from morenoh149/patch-1
...
Added note for proper example display
2014-12-17 16:17:50 -08:00
Harry Moreno
9adb4447cd
Added note for proper example display
...
jsfiddles weren't showing up for me. Upon further investigation I found that changing to http fixes the embedding.
2014-12-17 12:52:49 -08:00
Paul O’Shannessy
626023fc52
Merge pull request #2726 from zpao/createElement-undefined-null
...
Protect better against createElement(null/undefined)
2014-12-17 10:46:49 -08:00
Paul O’Shannessy
1bd8990fb2
Use containers on TravisCI
...
This *should* enabled the caching of node_modules for faster builds. We
may need to tweak this later to make sure node_modules gets updated
See http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
2014-12-17 10:44:07 -08:00
Paul O’Shannessy
50a0d69961
Protect better against createElement(null/undefined)
...
This adds a warning to React.createElement in __DEV__ about using null
or undefined. This is technically valid since element creation can be
considered safe and usable in multiple rendering environments. But
rendering in a DOM environment with an element with null/undefined type
is not safe.
2014-12-17 10:38:02 -08:00
Paul O’Shannessy
401d4dd108
Update NPM dependencies
...
This was mostly to update Jest, but the others were the safe ones from
`npm outdated --depth=0`
2014-12-16 14:17:10 -08:00
Paul O’Shannessy
5f4d759a2b
Merge pull request #2718 from alextsg/patch-1
...
Update tutorial.md for grammatical changes
2014-12-16 09:48:23 -08:00
Paul O’Shannessy
558afae61a
Changelog, Readme updates for v0.12.1
...
(cherry picked from commit a067fc0fee )
2014-12-16 09:44:00 -08:00
jeffmo and Paul O’Shannessy
849e79fef4
Include 0.12.1 starter kit
...
(cherry picked from commit e9dde65341 )
2014-12-16 09:44:00 -08:00
Alexander Tseung
a53270267f
Update tutorial.md for grammatical changes
...
Update tutorial.md to improve grammatical parallelism in features list. Also added periods to follow first item's syntax.
BEFORE: "Live updates: as other users comment we'll pop them into the comment view in real time"
AFTER: "Live updates: other users' comments are popped into the comment view in real time."
BEFORE: "Markdown formatting: users can use Markdown to format their text"
AFTER: "Markdown formatting: users can use Markdown to format their text."
2014-12-15 23:43:26 -08:00
Paul O’Shannessy
f13b4641bb
Merge pull request #2716 from RichardLitt/patch-2
...
Delete extraneous period
2014-12-15 13:16:38 -08:00
Richard Littauer
4f7b37f73a
Delete extraneous period
2014-12-15 13:14:00 -08:00
Paul O’Shannessy
6abb1c9e84
Merge pull request #2710 from zpao/lint-fix-again
...
Fix lint
2014-12-14 22:12:43 -08:00
Paul O’Shannessy
63d8e0c144
Fix lint
2014-12-14 15:22:24 -08:00
Paul O’Shannessy
0b0fa760cc
Merge pull request #2647 from zpao/text-component-expect
...
Add toBeTextComponentWithValue to reactComponentExpect
2014-12-14 14:33:37 -08:00
Paul O’Shannessy
42ae61d065
Merge pull request #2655 from zpao/rm-deprecated
...
Remove deprecated methods since 0.12 shipped
2014-12-14 14:33:16 -08:00
Paul O’Shannessy
c46dadea55
Remove deprecated methods since 0.12 shipped
2014-12-14 14:19:44 -08:00
Paul O’Shannessy
c9fb5b258e
Add toBeTextComponentWithValue to reactComponentExpect
...
This was previously possible by looking at renderedChildren and props
but this feels better.
2014-12-14 14:12:29 -08:00
Paul O’Shannessy
ca5d93ca0a
Merge pull request #2708 from zpao/strip-types
...
Enable strip-types transform for internal code
2014-12-14 13:08:34 -08:00
Paul O’Shannessy
a818097a60
Merge pull request #2705 from Swader/patch-1
...
Update 02-displaying-data.md
2014-12-14 13:00:51 -08:00
Paul O’Shannessy
9016665c0e
Enable strip-types transform for internal code
...
Flow is coming so we need to be ready.
2014-12-14 12:51:39 -08:00
Bruno Škvorc
e507dc08d5
Update 02-displaying-data.md
...
Typo fix
2014-12-14 08:03:35 +01:00
Sebastian Markbåge
6bb77b5d4d
Merge pull request #2700 from sebmarkbage/classic
...
Move ReactClass, ReactElement and ReactPropTypes into "classic"
2014-12-12 19:53:28 -08:00
Sebastian Markbage
801e953334
Move ReactClass, ReactElement and ReactPropTypes into "traditional"
...
This moves ReactClass, ReactElement and ReactPropTypes into a legacy folder
but since it's not quite legacy yet, I call it "classic".
These are "classic" because they are decoupled and can be replaced by
ES6 classes, JSX and Flow respectively.
This also extracts unit tests from ReactCompositeComponent, which was
terribly overloaded, into the new corresponding test suites.
There is one weird case for ReactContextValidator. This actually happens in
core, and technically belongs to ReactCompositeComponent. I'm not sure
we will be able to statically validate contexts so this might be a case
for dynamic checks even in the future. Leaving the unit tests in classic
until we can figure out what to do with them.
2014-12-12 17:54:35 -08:00
Paul O’Shannessy
d1ab4cda4b
Merge pull request #2694 from camsong/master
...
Add Chinese translation of js-spread
2014-12-12 09:47:07 -08:00
Cam Song
9c7dc5f3b8
Add Chinese translation of js-spread
2014-12-12 09:33:01 +08:00
Paul O’Shannessy
80ed4d870a
Merge pull request #2690 from salier/before-input
...
Combine BeforeInput and Composition event plugins
2014-12-11 17:08:26 -08:00
Jim
df81c9916b
Merge pull request #2695 from jsfb/fix-scry2
...
Fixed ReactTestUtils scry for TextComponents. Fix
2014-12-11 16:54:55 -08:00
Jim
74f5b21758
Fixed ReactTestUtils scry for TextComponents. Fixes issue #2654 .
2014-12-11 13:12:35 -08:00
Paul O’Shannessy
91eb2e2f99
Merge pull request #2689 from camsong/master
...
Add Chinese translation of jsx-in-depth
2014-12-10 15:12:55 -08:00
Isaac Salier-Hellendag
9ad0e1d846
Update BeforeInputEventPlugin.js
2014-12-10 11:36:39 -05:00
Isaac Salier-Hellendag
ddaf215b03
Combine BeforeInput and Composition event plugins
...
In order to improve support for Chinese and Japanese IME input in
Internet Explorer, use a fallback composition state to determine
inserted text. IE composition events are mostly okay, except for
certain punctuation characters that are ignored. Using the fallback, we
can detect these characters.
The fallback is also useful for emitting `beforeInput` events, so it
makes sense to simply combine these plugins.
This change also incorporates a recent change to the Google Input Tools
browser extension that exposes a `data` field via the `detail` object
on the custom composition events it emits.
2014-12-10 11:32:53 -05:00
Cam Song
8621b4d338
Add Chinese translation of jsx-in-depth
2014-12-11 00:19:15 +08:00
Paul O’Shannessy
ed1803dc16
Merge pull request #2679 from tschaub/patch-1
...
Add missing verb in docs
2014-12-09 14:04:57 -08:00
Tim Schaub
877d00d9ba
Add missing verb
...
This adds a missing verb in JSX-in-depth doc.
2014-12-08 15:08:57 -08:00
Paul O’Shannessy
ba95ce7b6f
Merge pull request #2677 from zpao/lint-internal
...
Fix new lint errors
2014-12-08 12:22:06 -08:00
Paul O’Shannessy
739baa9092
Fix new lint errors
...
We'll get to lint parity soon and then not need to do this.
2014-12-08 12:18:41 -08:00
Ben Alpert
b97bb21ea2
Merge pull request #2672 from cookfront/master
...
The same problem in issue #2648
2014-12-06 23:50:43 -08:00
cookfront
7fad8fddf1
The same problem in issue #2648
2014-12-07 15:42:51 +08:00
Cheng Lou
cfe97641ce
Merge pull request #2671 from benkeen/patch-1
...
Update 10.6-update.md
2014-12-06 20:12:21 -05:00
Benjamin Keen
2ee870e253
Update 10.6-update.md
...
Spelling fix.
2014-12-06 15:49:22 -08:00
Paul O’Shannessy
5c1589b81e
Merge pull request #2658 from ianobermiller/margin-attrs
...
Support marginHeight and marginWidth attributes
2014-12-04 19:02:34 -08:00
Paul O’Shannessy
dd844bffc0
Merge pull request #2489 from cody/form
...
Add Attributes formAction, formEncType, formMethod and formTarget
2014-12-04 19:01:32 -08:00
Ian Obermiller
9d7467e225
Don't need MUST_USE_ATTRIBUTE for margin(Width|Height)
2014-12-04 11:02:35 -08:00