From 4db91d74fed6c2e44fca2825c5af9ffed44dd617 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20O=E2=80=99Shannessy?= Date: Sun, 1 Mar 2015 11:53:06 -0800 Subject: [PATCH] [docs] show line numbers in online jsx compiler --- _js/jsx-compiler.js | 1 + _js/live_editor.js | 17 +++++++++++++++-- css/react.scss | 4 ++-- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/_js/jsx-compiler.js b/_js/jsx-compiler.js index a69bdd21..bd1f2d8a 100644 --- a/_js/jsx-compiler.js +++ b/_js/jsx-compiler.js @@ -27,6 +27,7 @@ var CompilerPlayground = React.createClass({ renderCode={true} transformer={transformer.bind(null, this.state.harmony)} showCompiledJSTab={false} + showLineNumbers={true} />