Remove code autoload in playground

old
Javi Velasco 2015-11-18 10:05:33 +01:00
parent f9426f186e
commit 0cc5a6fd0a
1 changed files with 0 additions and 1 deletions

View File

@ -49,7 +49,6 @@ class Main extends React.Component {
const examples = document.getElementsByClassName(this.LOAD_EXAMPLE_CLASS);
Array.prototype.forEach.call(examples, (exampleNode, idx) => {
const exampleCode = components[this.props.params.component].examples[idx];
this.refs.playground.loadCode(exampleCode);
ReactDOM.render(
<LoadExampleButton onClick={this.handlePlaygroundLoad.bind(this, exampleCode)} />,
exampleNode