Bartosz Kaszubowski
f785dd09ea
do not show empty "docs-prevnext" div on single page
...
to remove additional necessary spacing between content and footer
2015-02-24 16:28:47 +01:00
Ben Alpert
1943a9a0db
Only call put/deleteListener with truthy listeners
...
Without this, transitioning from `<div onClick={null} />` to `<div />` triggered `willDeleteListener` to delete the `click` handler which caused problems; now, we only call `putListener` and `deleteListener` when we have an actual listener.
I now also clean up the `onClickListeners` map upon deletion and don't double-listen when updating the event listener.
2015-02-23 14:52:30 -08:00
Ben Alpert
090e4bbc9a
Revert "Revert #1536 "
...
Formerly "Attach empty onclick listener to each node". This reverts commit 431155d2e2 .
2015-02-23 14:28:22 -08:00
Bob Ralian
8d29520dc7
clarifies forceUpdate method
2015-02-23 10:34:41 -06:00
Paul O’Shannessy
95206fe5dc
Make cloneWithProps typechecks static-only
2015-02-22 14:40:39 -08:00
Paul O’Shannessy
a30e25467d
v0.13.0-rc1 starter kit
2015-02-22 13:32:25 -08:00
Paul O’Shannessy
06126ad3f4
v0.13.0-rc1
v0.13.0-rc1
2015-02-22 13:26:13 -08:00
Paul O’Shannessy
4f26cc1414
Update dependencies
2015-02-22 13:26:13 -08:00
Paul O’Shannessy
d83fa6a6bf
Merge pull request #3224 from Simek/patch-2
...
wider Twitter timeline on support page
2015-02-22 13:10:43 -08:00
Paul O’Shannessy
fe16c8292c
Merge pull request #3232 from artnez/master
...
Add vendor/inline-source-map.js to package.json
2015-02-22 13:01:05 -08:00
Paul O’Shannessy
029e64bb56
Merge pull request #3233 from artnez/es6-call-spread
...
Add support for jstransform es6-call-spread
2015-02-22 12:57:25 -08:00
Artem Nezvigin
0bc4aafb74
Add support for jstransform es6-call-spread
2015-02-22 11:57:06 -08:00
Artem Nezvigin
d7791a7cbb
Add vendor/inline-source-map.js to package.json
2015-02-22 11:11:48 -08:00
Naman Goel
34d5e05199
Merge branch 'master' of https://github.com/facebook/react
...
* 'master' of https://github.com/facebook/react: (30 commits)
Expose --target flag on jsx executable
Contributing: cleanup quote style
Add Relay blog post
Fix long lines in vendor/fbtransform/visitors
lint vendor/*.js
fix .eslintignore
remove ballmer example
Fix a doc. cloneWithProps clones a ReactElement.
lint from root
Fixed mistake in jsdocs types for cloneWithProps
Put deprecation warning for classSet
Lint vendor/fbtransform as well
More warnings to ReactFragment.create
Warn when using constructor function directly
Move option parsing into react-tools proper.
Remove lodash devDependency
Added the immutability talk to the React.js Conf update.
Use same pathways for browser transforms as we use in react-tools
lint: remove spaces from array brackets
lint: remove spaces from object braces
...
2015-02-22 15:57:34 +01:00
Naman Goel
20d3f0db29
CSS property
2015-02-22 15:57:30 +01:00
chico
9185323959
make dev and production environment consistent
2015-02-22 14:58:42 +03:00
Bartosz Kaszubowski
087cd7b27a
wider Twitter timeline on support page
2015-02-21 23:20:09 +01:00
Paul O’Shannessy
5ab7fdecfe
Merge pull request #2994 from chenglou/docs-classset
...
[Docs] Add note on classSet deprecation
2015-02-20 17:00:36 -08:00
Paul O’Shannessy
4046b92487
Merge pull request #2847 from zpao/jsx-es5
...
Expose --target=esversion flag on jsx executable
2015-02-20 15:19:37 -08:00
Paul O’Shannessy
d40be68d2c
Expose --target flag on jsx executable
...
Valid values are 'es3' and 'es5'.
es3: perform reserved words quoting, don't use defineProperty
es5: default, don't do the above, class methods non-enumerable
2015-02-20 13:37:42 -08:00
Paul O’Shannessy
821383165f
Merge pull request #3212 from denis-sokolov/patch-1
...
Contributing: cleanup quote style
2015-02-20 08:20:18 -08:00
Denis Sokolov
ae3e85d9e4
Contributing: cleanup quote style
...
The line above it recommends `'` over `"`, and yet the line in question uses `"`.
2015-02-20 12:06:33 +02:00
Greg Hurrell
531add88c4
Add Relay blog post
...
closes #3174
2015-02-19 21:27:45 -08:00
Paul O’Shannessy
85baea4404
Merge pull request #3209 from chicoxyzzy/eslint-everywhere
...
lint from root
2015-02-19 20:59:44 -08:00
Paul O’Shannessy
362e9595c4
Fix long lines in vendor/fbtransform/visitors
...
I meant to do this with #3206 but forgot to add them.
2015-02-19 18:43:06 -08:00
Paul O’Shannessy
a3ee6a9548
Merge pull request #2993 from chenglou/classset-ded
...
Put deprecation warning for classSet
2015-02-19 18:36:36 -08:00
Jim
8326a9f11e
Merge pull request #2921 from hanski07/updateTransferringPropsDocs
...
Update transferring props docs
2015-02-19 17:52:02 -08:00
chico
90ce7f67d7
lint vendor/*.js
2015-02-20 04:37:45 +03:00
chico
ed6d02e1a8
fix .eslintignore
2015-02-20 04:31:21 +03:00
Jim
8913a07ada
Merge pull request #3161 from koba04/fix-clone-with-props-document
...
Fix a doc. cloneWithProps clones a ReactElement.
2015-02-19 17:14:53 -08:00
chico
1876bc2432
remove ballmer example
2015-02-20 04:13:07 +03:00
Toru Kobayashi
60e96edce2
Fix a doc. cloneWithProps clones a ReactElement.
2015-02-20 10:08:46 +09:00
chico
466f4faf4e
lint from root
2015-02-20 04:06:15 +03:00
Jim
d69329a17c
Merge pull request #3208 from jsfb/clonewithprops-jsdocs
...
Fixed mistake in jsdocs types for cloneWithProps
2015-02-19 17:02:28 -08:00
Jim
bad85fafa1
Fixed mistake in jsdocs types for cloneWithProps
2015-02-19 16:38:25 -08:00
Cheng Lou
835316bc13
Put deprecation warning for classSet
...
Also removes the one test that used the module.
2015-02-19 19:31:54 -05:00
Paul O’Shannessy
c889f409bf
Merge pull request #3191 from zpao/jsxtransformer-use-shared-code
...
Use same pathways for browser transforms as we use in react-tools
2015-02-19 16:09:41 -08:00
Paul O’Shannessy
cb3e797236
Merge pull request #3206 from zpao/lint-fbtransform
...
Lint vendor/fbtransform as well
2015-02-19 16:06:38 -08:00
Paul O’Shannessy
e60db7316f
Merge pull request #3198 from zpao/jsx-option-parsing
...
Move option parsing into react-tools proper.
2015-02-19 15:54:11 -08:00
Paul O’Shannessy
0f85884fa4
Merge pull request #3201 from zpao/non-factory-invariant
...
Warn when using constructor function directly
2015-02-19 15:53:50 -08:00
Sebastian Markbåge
977204991b
Merge pull request #3205 from sebmarkbage/warningfixes
...
More warnings to ReactFragment.create
2015-02-19 15:43:18 -08:00
Paul O’Shannessy
e830cea050
Lint vendor/fbtransform as well
2015-02-19 15:26:27 -08:00
Sebastian Markbage
5a2c80382c
More warnings to ReactFragment.create
...
Apparently I could've used these too because if you accept an arbitrary
node, then these could end up being objects, but those objects might
also be arrays or elements.
2015-02-19 15:11:49 -08:00
Paul O’Shannessy
02d225f26e
Merge pull request #3193 from fisherwebdev/remove_lodash
...
Remove lodash devDependency
2015-02-19 14:22:34 -08:00
Paul O’Shannessy
ad31cfa4dc
Warn when using constructor function directly
...
We no longer support the legacy factory style of calling component constructors
directly. We only support createElement or the wrapping of classes with
createFactory. Instead of letting this fail in a gross way as we try to run,
add a nice warning that shows up before the gross TypeError.
2015-02-19 13:57:48 -08:00
Jim
a2f77208e6
Merge pull request #3180 from cody/https
...
Using https URLs for embedded fiddles
2015-02-19 13:18:34 -08:00
Paul O’Shannessy
21a9e8b6e8
Merge pull request #3189 from hzoo/more-lint
...
More lint - remove spaces in object braces / array brackets
2015-02-19 11:42:02 -08:00
Paul O’Shannessy
629d400774
Merge pull request #3165 from oiva/jquery-mobile-example
...
Change how components are rendered in jQuery Mobile example. Fixes #2880
2015-02-19 10:48:26 -08:00
Paul O’Shannessy
112f7aa249
Move option parsing into react-tools proper.
...
We were doing some preprocessing for module options in the command line. Since
we also expose the same API via react-tools (and JSXTransformer), we need to do
the same processing from the API. So just move it all to the same place.
2015-02-19 09:46:25 -08:00
fisherwebdev
10d336d4eb
Remove lodash devDependency
2015-02-18 22:41:58 -08:00