Commit Graph

20 Commits

Author SHA1 Message Date
Connor McSheffrey
e3ec6f5292 Removed JS for live edit 2013-10-29 11:28:28 -07:00
Connor McSheffrey
5f296768a5 Moved cookbook recipes into separate directory. Updated nav_docs to loop through cookbook yaml. Added cookbook directory to js/ to add live editing of code samples 2013-10-29 10:14:19 -07:00
Paul O’Shannessy
b46b6a8db9 Fix live editor examples on home page.
Remember that one time I wrote release notes and said:

> This is a breaking change - if you were using class, you must change
> this to className or your components will be visually broken.

Good thing I didn't listen to myself!
2013-10-16 17:56:51 -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
Cheng Lou
169b172ffc textarea format 2013-07-17 16:22:30 -04:00
Paul O’Shannessy
5db3a0e481 Remove React.autoBind from examples 2013-07-16 23:44:09 -07:00
jordow
81f3a5c6cd Make todo example shorter and not rely on the DOM. 2013-06-07 13:11:40 -07:00
Paul O’Shannessy
1e76d84569 Merge pull request #32 from spicyj/input
Add new onInput event
2013-06-05 14:57:25 -07:00
David Hu
7795968382 Consistently use autoBind on homepage examples
Except for todo.js, all the other examples on the homepage use React.autoBind
when defining event handler methods.

Test Plan: Added todo items successfully
2013-06-02 12:04:16 -07:00
Jeffrey Lin
a78f752143 Fix live_editor.js usage of class= 2013-05-31 20:50:21 -07:00
Ben Alpert
2467c0e651 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
yungsters
855c82e224 Revise 'live_editor.js' using JSX. 2013-05-30 11:31:21 -07:00
yungsters
955b472f8b Add a JSX Compiler tool. 2013-05-30 11:26:36 -07:00
petehunt
cfe3b75cb0 Docs updates per community response 2013-05-30 01:16:15 -07:00
Paul Shen
ef6754bce5 [docs] Fix couple minor typos/spelling 2013-05-29 13:37:07 -07:00
petehunt
e20747ef9b Fix live editor on mobile devices 2013-05-29 13:24:51 -07:00
Paul O’Shannessy
75897c2dcd Initial public release 2013-05-29 12:54:02 -07:00