Removed JS for live edit
Connor McSheffrey committed
Oct 29, 2013 at 11:28 UTC
e3ec6f5292735f03038796e3eec47ce85892341e
2 files changed
-29
docs/_js/cookbook/inline-styles.js
deleted
-10
@@ -1,10 +0,0 @@
1
-/**
2
- * @jsx React.DOM
3
- */
4
-
5
-var INLINE_STYLES_COMPONENT = "\/** @jsx React.DOM *\/\r\n\r\nvar divStyle = {\r\n color: \'white\',\r\n backgroundColor: \'lightblue\',\r\n WebkitTransition: \'all\' \/\/ note the capital \'W\' here\r\n};\r\n\r\nReact.renderComponent(<div style={divStyle}>Hello World!<\/div>, mountNode);";
6
-
7
-React.renderComponent(
8
- ReactPlayground( {codeText:INLINE_STYLES_COMPONENT} ),
9
- document.getElementById('inlineStylesExample')
10
-);
docs/js/cookbook/inline-styles.js
deleted
-19
@@ -1,19 +0,0 @@
1
-/**
2
- * @jsx React.DOM
3
- */
4
-
5
- var INLINE_STYLES_COMPONENT = "
6
-/** @jsx React.DOM */
7
-
8
-var divStyle = {
9
- color: 'white',
10
- backgroundImage: 'url(' + imgUrl + ')',
11
- WebkitTransition: 'all' // note the capital 'W' here
12
-};
13
-
14
-React.renderComponent(<div style={divStyle}>Hello World!</div>, mountNode);
15
-";
16
- React.renderComponent(
17
- ReactPlayground( {codeText:INLINE_STYLES_COMPONENT} ),
18
- document.getElementById("inlineStylesExample")
19
- );
\ No newline at end of file