Aria Buckles
7eb6f68e7c
[Docs] Add 'ing' to make "opening" and "closing" line up
...
Test Plan:
None
2015-03-05 16:25:41 -08:00
Ben Alpert
6b7e4dc8e8
Add warning when using non-component element types
...
This should make debugging easier for people who missed callsites when fixing up their JSX/non-JSX usage.
2015-03-05 15:24:31 -08:00
Bartosz Kaszubowski
a42dcf4f7b
initialize dev variables in dev mode only
2015-03-05 21:20:48 +01:00
Jon Hester
65c4aeaa3a
use warning module instead of console.debug
2015-03-05 18:53:12 +00:00
Darcy
6b593083ed
check that console exists before warning
...
Console is undefined in earlier versions of IE when it is not open. This causes an uncaught exception, and breaks applications in these versions of IE when attempting to warn when the console is closed.
Admittedly, console will usually be open when testing in development, but still React should not break the application when it is not.
2015-03-05 09:20:16 -05:00
Jon Hester
a999ac1ac3
warn if IE8 is in compatibility mode
2015-03-05 13:48:28 +00:00
dmitry
adb9b20f6d
Bringing the code to one style.
2015-03-05 14:04:47 +02:00
Ian Obermiller
34f4a0e42d
shallowEqual: bail if either argument is falsey
...
Also add some unit tests.
2015-03-04 22:16:51 -08:00
Paul O’Shannessy
fa8961118a
Merge pull request #3294 from zpao/jsxcompiler-linenumbers
...
[docs] show line numbers in online jsx compiler
2015-03-04 18:45:18 -08:00
Paul O’Shannessy
bda845cf4c
[docs] Fox Ryan's name: #3311
2015-03-04 12:32:41 -08:00
Christopher Chedeau
4485903d40
Update round-up 25
...
(cherry picked from commit 40336d8144
)
2015-03-04 12:32:37 -08:00
Christopher Chedeau
af400ab17b
Merge pull request #3304 from facebook/matthewjohnston4-croundup-1
...
Community Roundup #25 blog post
2015-03-04 09:06:38 -08:00
Jim
71675bb400
Merge pull request #3305 from brafdlog/patch-1
...
There was a redundant word in the sentence
2015-03-03 14:04:05 -08:00
Paul O’Shannessy
811057aae2
Facebook, not FaceBook
2015-03-03 12:49:02 -08:00
Paul O’Shannessy
a3642d3995
v0.13 rc blog post
2015-03-03 12:42:57 -08:00
brafdlog
457c8e397d
There was a redundant word in the sentence
2015-03-03 22:03:53 +02:00
Paul O’Shannessy
2d46d589a1
v0.13.0-rc2 starter kit
2015-03-03 11:46:01 -08:00
Paul O’Shannessy
21b41480a5
v0.13.0-rc2
2015-03-03 11:46:01 -08:00
Paul O’Shannessy
71e583844b
Update bower release task
...
This makes it so we only delete some files during the buld process. We were
losing the LICENSE and PATENTS files.
2015-03-03 11:46:01 -08:00
Paul O’Shannessy
e8ffb80586
[lint] fix errors from new test
2015-03-03 11:23:45 -08:00
Paul O’Shannessy
e114988a2c
Sync out another jsx transform test.
...
We added this test internally and it never got added here. We haven't broken it
with any transforms *yet* but it's still good to actually run all of our tests
here too.
2015-03-03 10:40:07 -08:00
Matthew Johnston
a850603e1c
Update 2015-03-03-community-roundup-25.md
2015-03-03 18:34:07 +00:00
Paul O’Shannessy
2e2d79758d
Merge pull request #3264 from zpao/transform-jsx
...
XJS -> JSX
2015-03-03 10:33:08 -08:00
Matthew Johnston
2417b7f4de
Update 2015-03-03-community-roundup-25.md
2015-03-03 18:31:45 +00:00
Matthew Johnston
49d5722467
Update 2015-03-03-community-roundup-25.md
2015-03-03 17:56:53 +00:00
Matthew Johnston
e99ef894b8
Community Roundup #25 blog post
2015-03-03 14:20:41 +00:00
Paul O’Shannessy
272ae10b48
Merge pull request #3299 from sebmarkbage/fixwarningformats
...
Always use a static message formats
2015-03-02 13:19:01 -08:00
Sebastian Markbage
a27c6d1690
Always use a static message formats
...
These are the only places that seems to be including environment specific
variables in the message format.
By ensuring that they're static, we make it easier to group logs by
format. I also ensure that I keep each addendum separate so that they can
be filtered/grouped separately.
2015-03-02 13:18:38 -08:00
Paul O’Shannessy
4bad1aacb6
Merge pull request #3275 from spicyj/gh-3222
...
Don't use undefined as parent name in key warning
2015-03-02 12:47:52 -08:00
Paul O’Shannessy
8fdf4bbffc
Merge pull request #3276 from spicyj/gh-2978
...
Add regression test for scry order
2015-03-02 12:46:55 -08:00
Sebastian Markbåge
ecc4ad569a
Merge pull request #3266 from sebmarkbage/cloneelement
...
Add cloneElement Implementation
2015-03-02 12:15:20 -08:00
Sebastian Markbåge
edddd57d28
Merge pull request #3293 from spicyj/gh-3286
...
ReactFragment counts as a node without warning
2015-03-02 12:10:50 -08:00
Jim
f2c7d9ac81
Merge pull request #3284 from delftswa2014/bugfix/blog/https-urls
...
Fixed the http url in the blog pages
2015-03-02 11:20:10 -08:00
Paul O’Shannessy
57bd8fe3bb
Merge pull request #3295 from koba04/patch-1
...
Add a code format in 2015-02-24-react-v0.13-rc1.md
2015-03-01 20:48:25 -08:00
Toru Kobayashi
1744977201
Add a code format in 2015-02-24-react-v0.13-rc1.md
2015-03-02 09:33:36 +09:00
Paul O’Shannessy
b2161bd51d
[docs] show line numbers in online jsx compiler
2015-03-01 11:53:06 -08:00
Ben Alpert
7ebf7c46f5
ReactFragment counts as a node without warning
...
Fixes #3286 .
2015-03-01 11:50:07 -08:00
Paul O’Shannessy
dc92fa480a
Upgrade package dependencies for new esprima/jstransform
2015-03-01 11:25:16 -08:00
Ben Alpert
7346ce5c0b
Merge pull request #3288 from apaatsio/remove-unnecessary-variable-in-test
...
Remove unnecessary variable from test
2015-02-28 13:31:50 -08:00
Antti Ahti
323789540a
Remove unnecessary variable from test
2015-02-28 15:23:34 +02:00
Paul O’Shannessy
48e54da484
XJS -> JSX
...
Part 1: change all of our methods and AST node types.
Part 2: Rename files so there is no trace of XJS
2015-02-27 18:23:18 -08:00
Ben Alpert
673874dc87
Merge pull request #3263 from wmertens/patch-1
...
beta1 blog entry: Fix CoffeeScript example
2015-02-27 15:28:22 -08:00
PNikray
0e355fc8c4
Fixed the url in community-roundup-9
...
using http resulted in an error, changing it to https fixes it
2015-02-27 23:43:50 +01:00
PNikray
77ec7da124
Fixed the url in community-roundup-5
...
using http resulted in an error, changing it to https fixes it
2015-02-27 23:42:14 +01:00
PNikray
94fa077a76
Changed the url of the video in community-round-up-4
...
The url was using http instead of https, which results in an error.
2015-02-27 23:39:17 +01:00
Ben Alpert
de1f8682d5
Add note about enter/leave bubbling
...
Fixes #2826 .
2015-02-26 16:29:18 -08:00
Ben Alpert
feae9ad0a8
Add regression test for scry order
...
Fixes #2978 .
2015-02-26 15:54:50 -08:00
Ben Alpert
d5fa14de1a
Don't use undefined as parent name in key warning
...
Fixes #3222 .
2015-02-26 15:20:37 -08:00
Sebastian Markbåge
1c697ab141
Merge pull request #3265 from sebmarkbage/shouldupdaterefs
...
Avoid passing `this` of a static object
2015-02-26 13:33:35 -08:00
Sebastian Markbage
4adcee69a0
Add cloneElement Implementation
...
This is a new version of cloneWithProps but this one is moving out of
add-ons. Unlike cloneWithProps, this one doesn't have special logic for
style, className and children.
This one also preserves the original ref. This is critical when upgrading
from a mutative pattern where a child might have a ref on it.
It also preserves context, which is similar to how context would work when
it is parent based. It also ensures that we're compatible with the old
mutative pattern which makes updates easier.
2015-02-26 01:17:05 -08:00