@samitouri / QOS-React-2 / commits / 5d812949a1
Fork 0

The library for web and native user interfaces.

Ignore "docs/js/jsx-compiler.js" from Git.

yungsters committed May 30, 2013 at 11:37 UTC 5d812949a1729cf4ff38e13dd3890aad45112021
2 files changed +1 -19
.gitignore
+1
@@ -14,6 +14,7 @@ docs/css/react.css
14 docs/js/JSXTransformer.js
15 docs/js/react.min.js
16 docs/js/docs.js
17 +docs/js/jsx-compiler.js
18 docs/js/live_editor.js
19 docs/js/examples
20 docs/downloads
docs/js/jsx-compiler.js deleted
-19
@@ -1,19 +0,0 @@
1 -/**
2 - * @jsx React.DOM
3 - */
4 -
5 -var HELLO_COMPONENT = "\
6 -/** @jsx React.DOM */\n\
7 -var HelloMessage = React.createClass({\n\
8 - render: function() {\n\
9 - return <div>{'Hello ' + this.props.name}</div>;\n\
10 - }\n\
11 -});\n\
12 -\n\
13 -React.renderComponent(<HelloMessage name=\"John\" />, mountNode);\
14 -";
15 -
16 -React.renderComponent(
17 - ReactPlayground( {codeText:HELLO_COMPONENT, renderCode:true}, null ),
18 - document.getElementById('jsxCompiler')
19 -);