Lipis and Nathan Hunzaker
90f172871f
Rename Github to GitHub ( #9797 )
2017-05-29 07:36:14 -04:00
Michal Srb and Sebastian Markbåge
9dfaf236f7
Make the world a better place by placing closing /> on a new line ( #9699 )
2017-05-16 15:42:48 -07:00
Sriram Thiagarajan and Dan Abramov
c2956554fa
pre format only compile time errors ( #9538 )
...
* pre format only compile time errors
* Style tweak
2017-04-27 11:49:34 +01:00
Sriram Thiagarajan and Dan Abramov
4e85318c3c
fixed error formatting in live editor ( #9497 )
2017-04-26 14:06:53 +01:00
Adam and Dan Abramov
d2f8f6e41d
Remove ref usage in main markdown example ( #9160 )
...
from [elsewhere in the docs](https://facebook.github.io/react/docs/refs-and-the-dom.html ):
> Avoid using refs for anything that can be done declaratively.
2017-03-12 15:29:10 +00:00
Bryan Braun and Kevin Lacker
a2c91d2546
Replace the header_links plugin with client-side generated anchors. ( #4165 )
...
* Replace the header_links plugin with client-side generated anchors.
Fixes facebook/react#4124
* Move anchor-link code into a separate script
Also adds a couple comments, for context.
2017-03-01 11:52:54 -08:00
Samer Buna and Dan Abramov
fef9fc9223
Remove unnecessary findDOMNode calls ( #8198 )
2016-11-08 21:15:01 +00:00
Dan Abramov and GitHub
e304a42e81
Update the homepage with ES6 ( #7868 )
...
* Update the homepage with ES6
* Avoid array spread and stale state
2016-10-04 19:33:09 +01:00
Keyan Zhang
5b5196ee76
[Docs] Error Decoder Page ( #6946 )
2016-06-04 14:43:56 -07:00
Ben Alpert
087ff7748b
Use remarkable instead of marked ( #6961 )
...
https://github.com/reactjs/react-tutorial/issues/139
2016-06-03 14:41:38 -07:00
Daniel Lo Nigro and Paul O’Shannessy
c55ee8dab0
Move HTMLtoJSX page off React site. References https://github.com/reactjs/react-magic/issues/52 ( #6608 )
2016-05-26 23:39:28 -07:00
Keyan Zhang and Paul O’Shannessy
549eb4b625
switched to codemirror's jsx mode ( #6898 )
2016-05-26 23:33:04 -07:00
Rick Beerendonk
23ed4ec4e2
Year-agnostic copyright message, like React Native uses, to prevent the need for yearly changes.
2015-12-29 20:20:32 +01:00
Tay Yang Shun
13e272318e
[docs] Use id for TodoApp example
2015-11-22 11:54:39 +08:00
Jim
598682f06e
React -> ReactDOM for render() and findDOMNode()
2015-10-05 17:46:58 -07:00
Vipul A M and Paul O’Shannessy
321cb0ffc9
[docs] Replace JSXTransformer with babel/browser
...
Closes #4131
2015-09-25 20:13:19 -07:00
Paul O’Shannessy
f99d96e139
[docs] Stop supporting our JSX compiler page
...
Link to Babel REPL directly instead.
2015-09-25 17:56:42 -07:00
Bradley Spaulding
eee34edc27
Extracted "safe taint" in docs/homepage to align with best practice #4212
2015-09-21 22:24:51 -07:00
Paul O’Shannessy
a53121eda1
Upgrade ESLint, fix code
2015-08-10 17:04:29 -07:00
Chris Ha
3ed2f330d9
Switch to using comma-dangle: always-multiline
2015-07-16 23:40:16 -07:00
Benjamin Woodruff
6f8f610435
Enable more eslint-plugin-react rules
...
This should contain all the rules we probably want to use, except
react/wrap-multilines, which requires a larger codemod, and would
clutter this commit.
2015-06-04 09:43:16 -07:00
Paul O’Shannessy
85062b0821
[docs] Move pre-compiled JS files
2015-05-13 10:57:47 -07:00
Ben Alpert
a9512164da
[docs] Use marked instead of Showdown and escape HTML
...
Fixes #3501 .
2015-04-13 15:50:40 -07:00
Cheng Lou
86f9f67635
Remove some getDOMNode from docs and examples
2015-04-02 17:23:27 -04:00
Paul O’Shannessy
97ef72f10b
Merge pull request #3271 from delftswa2014/fix/todo-example
...
Added the key attribute into the todo example
2015-03-23 14:54:08 -07:00
PNikray
c950557adf
Modified the todo example.
...
Instead of only using the index to supress the warning it now uses the
text + index to also ensure object iteration order.
2015-03-02 19:49:42 +01:00
Paul O’Shannessy
12b2949c09
[docs] show line numbers in online jsx compiler
2015-03-01 11:53:06 -08:00
PNikray
90637be134
Added the key attribute into the todo example
...
This is to solve the warning (that the key should be set) that was being raised when adding a new item.
2015-02-26 19:37:05 +01:00
chico
1c30b3cd21
lint from root
2015-02-20 04:06:15 +03:00
Rick Beerendonk
25bf96424f
Update copyright headers for 2015
2015-01-31 20:18:25 +01:00
Alexandre Gaudencio
58b56d4634
Trailing commas break old IE versions
2014-11-03 02:54:23 +01:00
Paul O’Shannessy
95a1a9e818
Bring in jsfiddle integration script, add harmony
2014-10-29 19:35:27 -07:00
Paul O’Shannessy
8fe5f356b9
Use --harmomy in docs examples for cleaner code
2014-10-28 11:06:30 -07:00
Paul O’Shannessy
0e143a2415
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
1b3b432d64
[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
dcf415c2b9
BSD + PATENTS
2014-10-10 13:34:07 -07:00
Daniel Lo Nigro
6ceb47e8bf
console.warn when html-jsx-lib.js is loaded
2014-09-07 15:20:42 -07:00
Daniel Lo Nigro
1d1b6ed07a
Move htmltojsx.js to React-Magic project.
...
The HTMLtoJSX file is really a part of the React-Magic project, and should belong there rather than here:
- It doesn't really follow the release cycle of React at all
- It is totally standalone with no dependency on React
- The only usage of this script is in React-Magic and on the HTML to JSX page on the React website (http://facebook.github.io/react/html-jsx.html )
I've hotlinked it from the Github site for that project since this was the easiest way to pull it in.
Due to the fact that Github Pages lacks redirects (among other basic web hosting functionality), I've replaced the `html-jsx-lib.js` file with a comment explaining where the file has moved to, just in case anyone was hotlinking it from the React site.
2014-09-06 22:51:52 -07:00
Daniel Lo Nigro
e11b4078bc
Small tweaks to HTML to JSX page:
...
- Remove "Compiled JS" tab since it doesn't make sense
- Relabelled editor to "Live HTML Editor" rather than "Live JSX Editor"
2014-08-31 21:48:10 -07:00
Ben Alpert
ba67bf1b0d
Add --harmony option to live JSX compiler page
2014-06-28 17:29:30 -07:00
Paul O’Shannessy
8a47813baa
Update copyrights for 2014.
...
grep -rl 'Copyright 2013 Facebook' static_upstream | xargs perl -pi -w -e s/Copyright 2013 Facebook/Copyright 2013-2014 Facebook/g;'
Not going to check in a script to do this since it will just change every year.
Closes #1006
2014-02-18 17:06:43 -08:00
Cheng Lou
0f4cc6ee84
[Docs] Hide compiled js tab in jsx-compiler.html
...
Fixes #1049
2014-02-10 23:22:59 -08:00
Ben Alpert
a2e805b26e
Disable CodeMirror smart indentation
...
Fixes #966 .
2014-01-31 22:10:37 -08:00
Ben Alpert
ffc31ed77b
Merge pull request #914 from chenglou/jsx
...
tweak frontpage first example code
2014-01-17 18:27:51 -08:00
Cheng Lou
d8d4120614
[docs] Tweak frontpage first example and jsx-compiler example
2014-01-17 17:53:44 -08:00
Ben Alpert
ea711f1d62
Simplify live editor execution logic
2014-01-17 17:42:53 -08:00
Ben Alpert
4440486a24
Properly clear live editor on JSX compile failure
2014-01-17 17:42:40 -08:00
Cheng Lou
71b585325c
docs add jsx->js tab to live editors
2014-01-17 15:49:59 -08:00
Cheng Lou
f0b5219df9
docs better error display for live editor and JSX compiler
2014-01-01 19:41:08 -05:00
Christopher Chedeau
96782fc836
Merge pull request #755 from spicyj/cm-scroll
...
Upgrade codemirror and enable line wrapping
2013-12-30 20:56:59 -08:00