Commit Graph
541 Commits
Author SHA1 Message Date
Paul O’Shannessy d7fcbe0f96 Merge pull request #213 from benjamn/remove-stray-nodes-after-each-test
After each test, remove any stray nodes added to the document
2013-07-19 11:26:50 -07:00
Ben Newman 0441d4c7f5 Rename removeSiblings to removeNextSiblings. 2013-07-19 14:18:44 -04:00
Paul O’Shannessy d9aa2bd12c Merge pull request #212 from spicyj/docfix
One-character typo fix
2013-07-19 11:02:40 -07:00
Ben Alpert 222faf4544 One-character typo fix 2013-07-19 10:55:31 -07:00
Ben Newman 36fbd8d941 After each test, remove any stray nodes added to the document.
This was not necessary when we were running each test in its own
`<iframe>`, and it doesn't seem to affect any test behavior currently, but
it seems wise for the sake of test isolation and hygiene.
2013-07-19 13:53:15 -04:00
Paul O’Shannessy 547079763e Merge pull request #211 from phleet/patch-1
Docs Typo Fix: s/distinciton/distinction
2013-07-19 10:36:25 -07:00
Paul O’Shannessy a7dfe04406 Merge pull request #210 from benjamn/rewrite-Function.prototype.bind-polyfill
Pull in my rewritten Function.prototype.bind polyfill from upstream
2013-07-19 10:23:17 -07:00
Jamie Wong bf275a9097 Docs Typo Fix: s/distinciton/distinction 2013-07-19 12:33:54 -04:00
Ben Newman 507e58ed96 Pull in my rewritten Function.prototype.bind polyfill from upstream.
We don't sync upstream polyfills (because we don't have a story for how
they would be used), so this needs to be updated manually.

Sacrificed some negligible performance optimizations to reduce the number
of different cases from four to one.

It's important to test this implementation in PhantomJS, since that's the
only browser that I know of where built-in functions sometimes do not have
a `.prototype`.
2013-07-19 12:28:44 -04:00
Paul O’Shannessy d9c0be408b Merge pull request #209 from benjamn/speed-up-tests
Abandon <iframe> test isolation hack now that dumpCache works
2013-07-19 09:10:52 -07:00
Ben Newman 5beb481145 Abandon <iframe> test isolation hack now that we have dumpCache.
This cuts the running time of `grunt phantom:run` from 4.4s to 3.1s on my
machine, because we no longer have to load/execute a separate instance of
`react-test.js` in a separate `<iframe>` for each test.
2013-07-19 11:10:02 -04:00
Ben Newman 7ef5172d80 Don't call require("mock-modules").register("test/all", ...).
The "test/all" module will never be mocked, nor should it ever need to be
reset by `dumpCache`.
2013-07-19 11:10:02 -04:00
Pete Hunt e6812d7e36 Add iframe attributes to React
These are pretty useful for building apps and stuff.
2013-07-17 20:39:19 -07:00
Ben Newman 75ce576d3d Avoid some innocuous test warnings.
This reduces some console.warning spew from `grunt test` output.
2013-07-17 20:38:32 -07:00
Ben Newman fa7cc57a6d Merge pull request #206 from benjamn/getAttribute-instead-of-getAttributeNode
Use getAttribute instead of getAttributeNode in ReactID.rawGetID
2013-07-17 18:24:27 -07:00
Ben Newman fd2125ee94 Use getAttribute instead of getAttributeNode in ReactID.rawGetID.
Also known as internalGetID, internally.
2013-07-17 21:14:04 -04:00
Paul O’Shannessy 52e622f1db Version bump for 0.5.0 development 2013-07-17 16:45:38 -07:00
Paul O’Shannessy 3d7ac69c39 Merge pull request #203 from spicyj/homepage
Fix all errors and warnings on homepage
2013-07-17 13:32:52 -07:00
Ben Alpert e379f8ec03 Fix all errors and warnings on homepage
Also onChange instead of onInput in two places!
2013-07-17 13:31:52 -07:00
Paul O’Shannessy dbdf1cc296 Merge branch 'chenglou-master'
Conflicts:
	docs/_js/examples/markdown.js
2013-07-17 13:30:22 -07:00
Cheng Lou dd14fdfdc5 todo fix 2013-07-17 16:28:04 -04:00
Cheng Lou fc6a567e0e jsx 2013-07-17 16:25:25 -04:00
Paul O’Shannessy 96bd63cc4b Fix typo in blogpost
I fixed this in the changelog, but missed this one.
2013-07-17 13:23:18 -07:00
Cheng Lou 169b172ffc textarea format 2013-07-17 16:22:30 -04:00
Paul O’Shannessy ec67076090 Update readme for 0.4.0 2013-07-17 11:52:29 -07:00
Paul O’Shannessy 9221b15bff Typo in changelog, update blog leading sentence. 2013-07-17 11:51:27 -07:00
Paul O’Shannessy a54333842f Bump version for v0.4.0 v0.4.0 2013-07-17 11:33:31 -07:00
Paul O’Shannessy 0c1f2720b3 Remove React.autoBind from examples 2013-07-17 11:33:31 -07:00
Paul O’Shannessy 75f7f1e9ba remove likebutton from docs for now
it has some facebook-ism in there and it's probably shouldn't be on the
site.
2013-07-17 11:21:33 -07:00
Paul O’Shannessy 09fbf8e0ca Blog post for 0.4 2013-07-17 11:20:21 -07:00
Paul O’Shannessy d17d0d5f50 Changelog for 0.4.0 2013-07-17 11:19:58 -07:00
Paul O’Shannessy 1a7a8486ca [docs] Make sure JSX comments code is in block 2013-07-17 11:18:17 -07:00
Paul O’Shannessy 65548db916 Re-order entries in changelog
React is more important than react-tools so put it first!
2013-07-17 10:04:27 -07:00
Paul O’Shannessy 894bb03b23 Add CHANGELOG at the root, remove from downloads page 2013-07-17 10:01:16 -07:00
Paul O’Shannessy 94573545f3 [docs] Prop validation + cleanup default props 2013-07-17 09:47:09 -07:00
Paul O’Shannessy 7734429b89 [docs] Remove @benjamn's TODO for testing 2013-07-17 09:12:26 -07:00
Paul O’Shannessy 35f092afef Write Default Props section 2013-07-17 09:12:02 -07:00
Paul O’Shannessy b837bb7bdd [docs] fix typo
"L" is not ":"
2013-07-17 08:45:27 -07:00
Paul O’Shannessy c629a0c5ad Revert "Merge pull request #200 from spicyj/version"
This reverts commit d889322827, reversing
changes made to 156dffb961.
2013-07-17 08:26:59 -07:00
Ben Newman d889322827 Merge pull request #200 from spicyj/version
Add React.version
2013-07-17 06:13:49 -07:00
Paul O’Shannessy 156dffb961 [docs] Fix broken links 2013-07-17 01:37:52 -07:00
Pete Hunt e5befc0a73 Update DOM differences docs to include a note about the style attribute. 2013-07-17 01:00:01 -07:00
Paul O’Shannessy e3f6a6d916 Merge pull request #188 from facebook/docs-refactor
Look ma, new docs!
2013-07-17 00:56:07 -07:00
Paul O’Shannessy 58fecc8cbe Merge branch 'master' into docs-refactor 2013-07-17 00:26:05 -07:00
Paul O’Shannessy b5aad9479e re-bold some text so it stands out better 2013-07-17 00:25:23 -07:00
Paul O’Shannessy 5db3a0e481 Remove React.autoBind from examples 2013-07-16 23:44:09 -07:00
Paul O’Shannessy 0300f2aa22 em dashes 2013-07-16 23:38:15 -07:00
Paul O’Shannessy 17d36a4cc3 Standardized Markdown lists 2013-07-16 23:35:54 -07:00
Paul O’Shannessy c222f57b00 Cleanup "Reference"
(unlinked likebutton tutorial - not updated enough for public)
2013-07-16 23:31:32 -07:00
Paul O’Shannessy 1b64508aab Cleanup "Tooling Integration" 2013-07-16 23:31:03 -07:00