mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-22 03:42:14 +00:00
Ignore "docs/js/jsx-compiler.js" from Git.
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
/**
|
||||
* @jsx React.DOM
|
||||
*/
|
||||
|
||||
var HELLO_COMPONENT = "\
|
||||
/** @jsx React.DOM */\n\
|
||||
var HelloMessage = React.createClass({\n\
|
||||
render: function() {\n\
|
||||
return <div>{'Hello ' + this.props.name}</div>;\n\
|
||||
}\n\
|
||||
});\n\
|
||||
\n\
|
||||
React.renderComponent(<HelloMessage name=\"John\" />, mountNode);\
|
||||
";
|
||||
|
||||
React.renderComponent(
|
||||
ReactPlayground( {codeText:HELLO_COMPONENT, renderCode:true}, null ),
|
||||
document.getElementById('jsxCompiler')
|
||||
);
|
||||
Reference in New Issue
Block a user