From 263257bfb8248457ab8bf199a5d372db2d6bfa5d Mon Sep 17 00:00:00 2001 From: Scott Tolksdorf Date: Sat, 2 Apr 2016 12:02:05 -0400 Subject: [PATCH] Proof of concept working --- client/splatsheet/codeEditor/codeEditor.jsx | 14 --- client/splatsheet/sheetEditor/sheetEditor.jsx | 4 +- .../splatsheet/sheetEditor/sheetEditor.less | 4 +- .../sheetRenderer/parts/box/box.jsx | 50 ++++++++ .../parts/box/box.less} | 0 .../splatsheet/sheetRenderer/parts/index.js | 4 + .../parts/playerInfo/playerInfo.jsx | 67 +++++++++++ .../parts/playerInfo/playerInfo.less | 3 + .../parts/textInput/textInput.jsx | 45 +++++++ .../parts/textInput/textInput.less | 6 + .../sheetRenderer/sheetRenderer.jsx | 70 ++++++++--- .../sheetRenderer/sheetRenderer.less | 10 +- client/splatsheet/splatsheet.jsx | 36 +++++- client/splatsheet/splatsheet.less | 28 ++++- gulpfile.js | 3 + shared/jsx-parser.js | 112 +++++++----------- 16 files changed, 344 insertions(+), 112 deletions(-) delete mode 100644 client/splatsheet/codeEditor/codeEditor.jsx create mode 100644 client/splatsheet/sheetRenderer/parts/box/box.jsx rename client/splatsheet/{codeEditor/codeEditor.less => sheetRenderer/parts/box/box.less} (100%) create mode 100644 client/splatsheet/sheetRenderer/parts/index.js create mode 100644 client/splatsheet/sheetRenderer/parts/playerInfo/playerInfo.jsx create mode 100644 client/splatsheet/sheetRenderer/parts/playerInfo/playerInfo.less create mode 100644 client/splatsheet/sheetRenderer/parts/textInput/textInput.jsx create mode 100644 client/splatsheet/sheetRenderer/parts/textInput/textInput.less diff --git a/client/splatsheet/codeEditor/codeEditor.jsx b/client/splatsheet/codeEditor/codeEditor.jsx deleted file mode 100644 index 78a293e29..000000000 --- a/client/splatsheet/codeEditor/codeEditor.jsx +++ /dev/null @@ -1,14 +0,0 @@ -var React = require('react'); -var _ = require('lodash'); -var cx = require('classnames'); - -var SheetEditor = React.createClass({ - - render : function(){ - return
- SheetEditor Ready! -
- } -}); - -module.exports = SheetEditor; diff --git a/client/splatsheet/sheetEditor/sheetEditor.jsx b/client/splatsheet/sheetEditor/sheetEditor.jsx index 8b9045474..7f3433d6f 100644 --- a/client/splatsheet/sheetEditor/sheetEditor.jsx +++ b/client/splatsheet/sheetEditor/sheetEditor.jsx @@ -16,10 +16,8 @@ var SheetEditor = React.createClass({ render : function(){ return
- SheetEditor Ready! - +

Sheet Template