Commit Graph

9 Commits

Author SHA1 Message Date
Paul O’Shannessy
f9effa598f Use --harmomy in docs examples for cleaner code 2014-10-28 11:06:30 -07:00
Paul O’Shannessy
12b9311066 React.renderComponent -> React.render
This covers most everything. The perf suite still needs work for the
Element updates. And the server rendering example needs to be done
wholesale.
2014-10-23 20:51:11 -07:00
Cheng Lou
33c7ee6112 [Docs] Remove most of @jsx
I kept some places intact (search for @jsx) because they require other bigger changes:

- ref-01-top-level-api.md
- grunt/tasks/npm.js
- old blog posts (don't change those)
- examples/ folder, as they have their own package.json that rely on old dependencies (node-jsx, reactify) that haven't upgraded to 0.12
2014-10-20 14:44:07 -04:00
Paul O’Shannessy
c3b5e071e5 Merge branch 'chenglou-master'
Conflicts:
	docs/_js/examples/markdown.js
2013-07-17 13:30:22 -07:00
Cheng Lou
084e726d3c jsx 2013-07-17 16:25:25 -04:00
Cheng Lou
d0b7884924 textarea format 2013-07-17 16:22:30 -04:00
Paul O’Shannessy
459daa63da Remove React.autoBind from examples 2013-07-16 23:44:09 -07:00
Ben Alpert
ccba6965b6 Update examples to use onInput instead of onKeyUp
onInput has the advantage that it responds to repeated key events before
onKeyUp and is called when modifying the input without the keyboard
(such as pasting with the mouse).

Test Plan:
Opened the ballmer-peak example and docs homepage in Chrome and checked
that both examples update whenever the text is changed.
2013-05-30 18:20:34 -07:00
Paul O’Shannessy
eb278167cd Initial public release 2013-05-29 12:54:02 -07:00