From bfcf6ca7f2a4c67ae11c3451c5979c5dce036916 Mon Sep 17 00:00:00 2001 From: Scott Tolksdorf Date: Mon, 16 May 2016 22:03:20 -0400 Subject: [PATCH] Getting ready to switch to jsx --- client/tpk/sheetEditor/sheetEditor.jsx | 3 +-- client/tpk/tpk.jsx | 11 ++++++++++- client/tpk/tpk.less | 5 ++++- gulpfile.js | 1 + 4 files changed, 16 insertions(+), 4 deletions(-) diff --git a/client/tpk/sheetEditor/sheetEditor.jsx b/client/tpk/sheetEditor/sheetEditor.jsx index 8918454..5891244 100644 --- a/client/tpk/sheetEditor/sheetEditor.jsx +++ b/client/tpk/sheetEditor/sheetEditor.jsx @@ -18,7 +18,6 @@ var SheetEditor = React.createClass({ componentDidMount: function() { var paneHeight = this.refs.main.parentNode.clientHeight; - paneHeight -= this.refs.snippetBar.clientHeight + 1; this.refs.codeEditor.codeMirror.setSize(null, paneHeight); }, @@ -35,7 +34,7 @@ var SheetEditor = React.createClass({ }, render : function(){ - return
+ return