Commit Graph
19463 Commits
Author SHA1 Message Date
Christopher Chedeau 590a5498ab Merge pull request #686 from vjeux/community_12
Community Round-up #12
2013-12-23 09:04:03 -08:00
Vjeux d1e955c37b Community Round-up #12 2013-12-23 18:03:42 +01:00
Paul O’Shannessy 1783e54eb0 Merge pull request #692 from loganfynne/master
Added property attribute to non-standard attributes
2013-12-22 21:30:03 -08:00
Christopher Chedeau 0bbf535b7b Merge pull request #411 from vjeux/diff_algorithm
Document the Diff algorithm
2013-12-22 11:36:26 -08:00
Andreas Svensson 1f2d57d6a4 Use feature detection and more robust recovering of whitespace for innerHTML in IE8 2013-12-22 20:30:59 +01:00
Vjeux 59f72bd991 Document the Diff algorithm
We often refer to it but never did actually explain it.
2013-12-22 20:09:02 +01:00
Ben Newman 9f3c4da588 Merge pull request #662 from benjamn/replace-envify
Upgrade envify to a version that uses recast.
2013-12-22 09:39:02 -08:00
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
Luigy Leon 814faed08f Fix "Dynamic Children" example 2013-12-22 10:37:09 -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
Logan Allen ab88dd19d3 Added property to non-standard attributes
Fixes issue #655
2013-12-21 22:24:31 -05: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
Vjeux c7c72d1a7a Community Round-up #14 2013-12-21 20:48:28 +01:00
Mouad Debbar 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 Yung 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 Yung 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 Yung 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