diff --git a/_js/html-jsx.js b/_js/html-jsx.js index ea9b9d69..ae1d6ec3 100644 --- a/_js/html-jsx.js +++ b/_js/html-jsx.js @@ -79,6 +79,8 @@ var HELLO_COMPONENT = "\ codeText={HELLO_COMPONENT} renderCode={true} transformer={this.convertToJSX} + showCompiledJSTab={false} + editorTabTitle="Live HTML Editor" /> ); diff --git a/_js/live_editor.js b/_js/live_editor.js index 477db9c8..4d6c6670 100644 --- a/_js/live_editor.js +++ b/_js/live_editor.js @@ -79,6 +79,8 @@ var ReactPlayground = React.createClass({ codeText: React.PropTypes.string.isRequired, transformer: React.PropTypes.func, renderCode: React.PropTypes.bool, + showCompiledJSTab: React.PropTypes.bool, + editorTabTitle: React.PropTypes.string }, getDefaultProps: function() { @@ -86,6 +88,7 @@ var ReactPlayground = React.createClass({ transformer: function(code) { return JSXTransformer.transform(code).code; }, + editorTabTitle: 'Live JSX Editor', showCompiledJSTab: true }; }, @@ -150,7 +153,7 @@ var ReactPlayground = React.createClass({