Commit Graph
1369 Commits
Author SHA1 Message Date
Pete Hunt eab2ededdf Merge pull request #736 from spicyj/minify-before-browserify
Minify both before and after browserify
2013-12-28 23:17:52 -08:00
Pete Hunt 7e29f4607b Merge pull request #737 from spicyj/docs-ajax-state
Move initial $.ajax out of getInitialState
2013-12-28 23:17:34 -08:00
Ben Alpert cce91611aa Move initial $.ajax out of getInitialState
We want to encourage people to make pure getInitialState functions.
2013-12-29 00:14:05 -07:00
Ben Alpert 76c9d8465e Switch to using uglifyify 2013-12-29 00:03:26 -07:00
Ben Alpert abee8b0476 Minify both before and after browserify 2013-12-28 23:41:54 -07:00
Pete Hunt 82c4e897dc Merge pull request #733 from ivan/master
Use explicit $.ajax dataType and add error callback
2013-12-28 22:15:08 -08:00
Ivan Kozik 17f14d523b console.log -> console.error 2013-12-29 06:12:45 +00:00
Pete Hunt f5f464b16a Merge pull request #734 from ivan/tut-jsx-header
Tell user to keep the @jsx declaration at the top of the script
2013-12-28 22:08:19 -08:00
Ivan Kozik 0647c2ee98 Add a warning about the @jsx declaration 2013-12-29 05:51:07 +00:00
Ivan Kozik f03d6e212a Use explicit $.ajax dataType and add error callback 2013-12-29 05:32:46 +00:00
Pete Hunt 918c5134e1 Merge pull request #732 from chenglou/doc-pragma
docs add warning to add jsx pragma
2013-12-28 20:05:33 -08:00
Cheng Lou 8f5ef0fdf2 docs add warning to add jsx pragma 2013-12-28 23:04:34 -05:00
Christopher Chedeau 84cacaf5b6 Merge pull request #717 from syranide/testkeytransfer
Add unit test for transferPropsTo, "key" should never transfer
2013-12-27 18:54:56 -08:00
Christopher Chedeau 72fd24662e Merge pull request #716 from bitshadow/hotfix
Issue #383 : Error message for using refs outside of render() is difficult to underst...
2013-12-27 18:53:36 -08:00
Christopher Chedeau fdf64919f3 Merge pull request #730 from syranide/lint80
Added max line length = 80 for jshint
2013-12-27 17:59:45 -08:00
Christopher Chedeau ff9ca2ecb2 Merge pull request #700 from syranide/100%autofocus
Patch missing autoFocus-support in older browsers
2013-12-27 17:47:24 -08:00
Christopher Chedeau f627bc52b0 Merge pull request #714 from syranide/escapekey
Escape component keys used in reactid
2013-12-27 17:14:16 -08:00
Christopher Chedeau 9f10bb4aca Merge pull request #729 from syranide/dragevent
Add SyntheticDragEvent with "dataTransfer" property
2013-12-27 17:12:00 -08:00
Andreas Svensson a6b888b214 Escape component keys used in reactid 2013-12-28 01:58:59 +01:00
Andreas Svensson cbd6d8a46c Added max line length = 80 for jshint 2013-12-28 01:49:04 +01:00
Andreas Svensson 01b4b23118 Polyfill/normalize autoFocus across all browsers 2013-12-27 22:44:43 +01:00
Andreas Svensson 9e6456ba41 Add SyntheticDragEvent with "dataTransfer" property 2013-12-27 21:01:30 +01:00
Pete Hunt a4bb44f1e2 Merge pull request #728 from spicyj/gh-724
Allow changing transitionLeave from false to true
2013-12-27 10:59:22 -08:00
Pete Hunt fac676073a Merge pull request #722 from wincent/typo-fix-01
Fix a typo in the working-with-the-browser docs
2013-12-27 10:09:02 -08:00
Ben Alpert 5e6e332d67 Allow changing transitionLeave from false to true
Fixes #724.
2013-12-27 10:22:48 -07:00
Wincent Colaiuta 79b00591f1 Fix a typo in the working-with-the-browser docs 2013-12-26 22:22:00 -08:00
Paul O’Shannessy f877c6224f Merge pull request #695 from luigy/patch-1
Fix "Dynamic Children" example
2013-12-26 09:04:21 -08:00
Andreas Svensson f9947dec2a Add unit test for transferPropsTo, "key" should never transfer 2013-12-26 16:42:39 +01:00
Jignesh Kakadiya e35f4c29bb fix params 2013-12-26 12:29:01 +05:30
Jignesh Kakadiya ecf9f8ef6d Adjust params 2013-12-26 12:17:36 +05:30
Jignesh Kakadiya 2b0dc71e3d Error message for using refs outside of render() is difficult to understand 2013-12-26 12:00:19 +05:30
Pete Hunt cc229eb749 Merge pull request #591 from spicyj/mount-key
Respect 'key' prop for object identity
2013-12-25 22:15:13 -08:00
Ben Alpert 633125fd0d Use innerHTML not innerText in test 2013-12-25 22:47:10 -07:00
Ben Alpert 30f566392b Extract out wrapUserProvidedKey for clarity 2013-12-25 22:32:43 -07:00
Ben Alpert 6fae670d19 Make shouldUpdateReactComponent key logic clearer
...and inline getComponentKey into traverseAllChildren.js.
2013-12-25 22:25:20 -07:00
Ben Alpert b0431a51ca Respect 'key' prop for object identity
Now when a `key` prop appears, its value is always honored. This means that in the root component or as an only child, changing key will cause remounting; in a `children` object, the `key` prop will be joined with the object key to form a two-part key.

Fixes #590.
2013-12-25 22:24:10 -07:00
Christopher Chedeau 02e47ebd00 Merge pull request #713 from syranide/nokeytransfer
transferPropsTo should never transfer the "key" property
2013-12-25 20:46:30 -08:00
Andreas Svensson 374c9ba658 transferPropsTo should never transfer the key property 2013-12-26 00:12:22 +01:00
Pete Hunt adff7c0238 Update README.md 2013-12-24 02:21:06 -05:00
Christopher Chedeau 7e0c6bc952 Merge pull request #705 from chenglou/rm-vid
docs remove video at the bottom
2013-12-23 22:44:00 -08:00
Cheng Lou 0519734ea5 docs remove video at the bottom 2013-12-24 01:42:45 -05:00
Pete Hunt b385b580a6 Merge pull request #704 from vjeux/talks_doc
Add a talks section to the docs
2013-12-23 22:21:56 -08:00
Vjeux 91780d1c58 Add a talks section to the docs 2013-12-24 07:20:42 +01:00
Christopher Chedeau a6d8c00b1a Merge pull request #702 from syranide/lessmice
Removed unnecessary cleanup in isEventSupported
2013-12-23 19:30:16 -08:00
Pete Hunt 1070d12732 Merge pull request #701 from fabiomcosta/react-video-version-note
Note about react's version on the video talk
2013-12-23 16:54:33 -08:00
Pete Hunt a8216e78b1 Merge pull request #703 from fabiomcosta/onscroll-doc-ie8-note
Adding note about onScroll on IE8
2013-12-23 16:46:52 -08:00
Fabio M. Costa c211767d47 language update as suggested by @petehunt 2013-12-23 16:45:44 -08:00
Fabio M. Costa 34660eccf9 updating text as suggested by @petehunt 2013-12-23 16:41:41 -08:00
Fabio M. Costa 874122bad4 Adding note about onScroll on IE8 2013-12-23 16:40:41 -08:00
Andreas Svensson 63ca84e5af Removed unnecessary cleanup in isEventSupported 2013-12-24 01:02:24 +01:00