Commit Graph
1299 Commits
Author SHA1 Message Date
Ben Newman 9da3f92853 Upgrade envify dependency to v1.0.1.
This version uses Recast for source transformation:
https://github.com/hughsk/envify/pull/4
2013-12-22 11:58:56 -05:00
Pete Hunt c7fbaa4966 Merge pull request #691 from Daniel15/hackathon40-htmltojsx-master
Simple HTML to JSX converter
2013-12-22 00:07:15 -08:00
Daniel Lo Nigro eab1f4d366 Simple HTML to JSX converter, built during Hackathon 40 at Facebook.
See /react/html-jsx.html. Not directly linked from the site yet as there may still be some minor issues with it.
2013-12-21 17:44:38 -08:00
Mouad DebbarandPaul O’Shannessy d914522ae4 A new prop type for React Components
Since we can use props to pass React Components, we should have a better way of validating these props than just `object`. Having a prop type `component` will allow us to safely assume that the passed prop IS a component.
2013-12-20 18:13:21 -08:00
Tim YungandPaul O’Shannessy 3431e3f847 Add createMarkupForID
This is a follow-up the to previous commit and does two things:

 - Moves `ReactMount.ATTR_NAME` to `DOMProperty.ID_ATTRIBUTE_NAME`.
 - Adds `DOMPropertyOperations.createMarkupForID` and uses it.
2013-12-20 18:12:48 -08:00
Tim YungandPaul O’Shannessy 9d119577ea Consolidate ID Attribute Markup Generation
We have this really nice method for safely creating markup for an HTML
attribute, `DOMPropertyOperations.createMarkupForProperty(...)`. Let's
use it to create the ID attribute markup, too.
2013-12-20 18:12:37 -08:00
Paul O’Shannessy 65e0970c41 Merge pull request #673 from quark-zju/fix-select-multiple
Some options cannot be selected alone in <select multiple />
2013-12-20 16:24:37 -08:00
Keito Uchiyama 03ab108a77 Change my canonical e-mail address in .mailmap 2013-12-20 13:59:53 -08:00
Jun, WU 3c5710193c Fix a perf issue of <select multiple />
`indexOf` was used inside a loop. Use an object and
`hasOwnProperty` instead.
2013-12-21 01:04:31 +08:00
WU Jun 9a4a8aa71a Do not automatically select other options
For <select multiple />, `value` is an array and should not be
converted to a string.
2013-12-21 01:04:31 +08:00
Cheng Lou 30672654c5 docs make all link start with /react/docs 2013-12-19 17:15:01 -05:00
Paul O’Shannessy 039124bd07 0.8 starter kit 2013-12-19 13:21:27 -08:00
Paul O’Shannessy 5c9f96d12f v0.8 blog post 2013-12-19 13:21:27 -08:00
Paul O’Shannessy 2595cbc676 Update materials for 0.8.0 2013-12-19 13:21:27 -08:00
Paul O’Shannessy 6a8542a6e9 Fix npm-react build task, add to release 2013-12-19 13:21:27 -08:00
Paul O’Shannessy a1699bdb88 Update AUTHORS for 0.8 2013-12-19 13:21:27 -08:00
Paul O’Shannessy a4595f0b32 Add newest starter-kit downloads to docs 2013-12-18 16:51:23 -08:00
Paul O’Shannessy c0c5cb8e2c Changelog, blog post for 0.5.2, 0.4.2 2013-12-18 16:45:17 -08:00
Paul O’Shannessy aabfe79442 Update readme for 0.5.2 2013-12-18 16:45:17 -08:00
Paul O’Shannessy 01c4a706a3 Add starter-kit zip files to repo
These should be included so that anybody can build and update the docs
with as little confusion as possible.

I've left the directory in .gitignore so additions need to be
intentional as part of a release.
2013-12-17 22:02:31 -08:00
Pete Hunt 9a049d9774 Merge pull request #675 from chenglou/special-attrs
docs section for non-dom attributes and more in dom differences
2013-12-17 21:51:21 -08:00
Cheng Lou 47f2cacc6b docs add input attrs for Dom Differences 2013-12-18 00:46:59 -05:00
Cheng Lou be17771270 docs section for non-dom attributes
Also added documentation for `dangerouslySetInnerHTML`.
2013-12-18 00:31:17 -05:00
Pete Hunt 294bac537d Merge pull request #668 from nicholasbs/fix-docs-typo
Fix typos
2013-12-17 18:39:14 -08:00
Pete Hunt b7feb6f6eb Merge pull request #650 from jaredly/patch-1
rename this tip to be less confusing
2013-12-17 18:22:34 -08:00
Pete Hunt 20d736db4c Merge pull request #674 from squidsoup/tutorial-jquery-src
Documentation (minor): template missing jquery reference
2013-12-17 18:21:53 -08:00
Kit Randel 08babd2541 Tutorial template markup needs a reference to jquery for the ajax calls
from step 13 onwards.
2013-12-18 15:13:45 +13:00
Tim YungandPaul O’Shannessy 41230ef5dd A new helper for tests: createHierarchyRenderer
We aren't using this in any of the React tests, but we've found it
useful testing product code.
2013-12-17 18:07:53 -08:00
Jared Forsyth e539c8c6c4 one liner 2013-12-17 17:12:21 -07:00
Jared Forsyth bf6951687d changes as requested 2013-12-17 17:10:02 -07:00
Jared Forsyth b5cfc72870 adding note about initializing state w/ props 2013-12-17 16:16:50 -07:00
Ben Newman 0bf9910ae9 Merge pull request #672 from benjamn/upgrade-populist
Upgrade populist dependency to v0.1.6.
2013-12-17 13:49:51 -08:00
Ben Newman b805eff032 Upgrade populist dependency to v0.1.6.
This reduces the time taken by `grunt populist:test` from 7s to 550ms,
which should make @spicyj especially happy.

Relevant commits from the `populist` and `ast-types` repositories:
https://github.com/benjamn/populist/commit/9863ad16c0753f714fdb83007515637511c346d6
https://github.com/benjamn/ast-types/commit/dabef2a4ac48ebdb5c76baf1fb94f4997b6484ac
2013-12-17 16:26:51 -05:00
Ben Newman df3bd393eb Merge pull request #661 from benjamn/upgrade-recast
Upgrade recast dev dependency to v0.5.6.
2013-12-17 11:54:27 -08:00
Ben Newman f3a6775098 Upgrade recast dev dependency to v0.5.6.
Paving the way for source maps.
2013-12-17 14:50:36 -05:00
Paul O’Shannessy c215bc3cd4 Update npm-react readme to point to autoflow 2013-12-17 11:21:08 -08:00
Paul O’Shannessy adfb5f1eae Update npm-react error to point to autoflow 2013-12-17 11:18:27 -08:00
Pete Hunt d663d42d23 Merge pull request #670 from subtleGradient/subtlegradient/escape-the-things
the things, escape them
2013-12-17 09:03:01 -08:00
Thomas Aylott 7f3d4f0340 fixes ReactTextComponent rootID unescapedness 2013-12-17 05:07:49 -05:00
Thomas Aylott 346c8f5e6e test case for ReactTextComponent rootID escaping 2013-12-17 05:05:28 -05:00
Nicholas Bergson-Shilcock 93eb6a5637 Fix typo in comments (ot -> to) 2013-12-15 12:12:38 -05:00
Nicholas Bergson-Shilcock 760cdd35c9 Fix typo (ot -> to) 2013-12-15 12:11:47 -05:00
Pete Hunt 3ad2938dfa Merge pull request #657 from zpao/grunt-version-check-cleanup
Grunt version check cleanup
2013-12-15 01:45:30 -08:00
Paul O’Shannessy 5a5137ded4 Merge pull request #651 from fabiomcosta/patch-2
Improving never seen error message
2013-12-13 10:23:46 -08:00
Paul O’Shannessy c2920ba84c Merge pull request #653 from fabiomcosta/patch-3
match -> test
2013-12-12 15:33:31 -08:00
Fabio M. Costa 39037eedd1 URL -> url 2013-12-12 15:29:29 -08:00
Ben Newman 7c95194ec0 Merge pull request #637 from cpojer/use-rest-params
Use Rest Parameters where it makes sense
2013-12-12 14:53:50 -08:00
Paul O’Shannessy 8fda127748 Check src file for version-check task
This lets the task run stand-alone without building
2013-12-11 17:06:06 -08:00
Paul O’Shannessy 54bac2f07f Move version-check task into own file
Gruntfile.js is really messy :(
2013-12-11 17:01:18 -08:00
Josh DuckandPaul O’Shannessy 8b0af9b5de Fix SelectEventPlugin
mouseup was not fired when context menu showed, so select events stopped being fired.
2013-12-11 13:46:11 -08:00