From 7aaa32c9e8a537a2c3e2b88c30dee5f56a157e60 Mon Sep 17 00:00:00 2001 From: Connor McSheffrey Date: Tue, 29 Oct 2013 11:28:28 -0700 Subject: [PATCH] Removed JS for live edit --- _js/cookbook/inline-styles.js | 10 ---------- js/cookbook/inline-styles.js | 19 ------------------- 2 files changed, 29 deletions(-) delete mode 100644 _js/cookbook/inline-styles.js delete mode 100644 js/cookbook/inline-styles.js 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