Skip to content

Commit

Permalink
Remove code autoload in playground
Browse files Browse the repository at this point in the history
  • Loading branch information
javivelasco committed Nov 18, 2015
1 parent f9426f1 commit 0cc5a6f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion docs/app/components/layout/main/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0cc5a6f

Please sign in to comment.