diff --git a/_js/cookbook/inline-styles.js b/_js/cookbook/inline-styles.js deleted file mode 100644 index 1167637b..00000000 --- a/_js/cookbook/inline-styles.js +++ /dev/null @@ -1,10 +0,0 @@ -/** - * @jsx React.DOM - */ - -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(
Hello World!<\/div>, mountNode);"; - -React.renderComponent( - ReactPlayground( {codeText:INLINE_STYLES_COMPONENT} ), - document.getElementById('inlineStylesExample') -); diff --git a/js/cookbook/inline-styles.js b/js/cookbook/inline-styles.js deleted file mode 100644 index 0f6110ae..00000000 --- a/js/cookbook/inline-styles.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * @jsx React.DOM - */ - - var INLINE_STYLES_COMPONENT = " -/** @jsx React.DOM */ - -var divStyle = { - color: 'white', - backgroundImage: 'url(' + imgUrl + ')', - WebkitTransition: 'all' // note the capital 'W' here -}; - -React.renderComponent(
Hello World!
, mountNode); -"; - React.renderComponent( - ReactPlayground( {codeText:INLINE_STYLES_COMPONENT} ), - document.getElementById("inlineStylesExample") - ); \ No newline at end of file