From 61d54ba4a261195995bd8e5c88fae42c0753d018 Mon Sep 17 00:00:00 2001 From: Brian Carstensen Date: Thu, 13 Aug 2015 12:34:19 -0500 Subject: [PATCH 1/2] Add a start script --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index d5d225c..ce7466e 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "Markdown viewer and editor for the Zooniverse", "main": "src/index.js", "scripts": { + "start": "gulp watch", "test": "gulp test", "test-sauce": "zuul -- test/**/*.js" }, From bcacd90d46af8fc2387f95a38ed7c479157f590d Mon Sep 17 00:00:00 2001 From: Brian Carstensen Date: Thu, 13 Aug 2015 12:36:56 -0500 Subject: [PATCH 2/2] Remove replaceSymbols method, move responsibility to transform prop --- src/components/markdown-editor.js | 4 +-- src/components/markdown.js | 46 ++------------------------ test/components/markdown-test.js | 55 +++++++------------------------ 3 files changed, 16 insertions(+), 89 deletions(-) diff --git a/src/components/markdown-editor.js b/src/components/markdown-editor.js index ec358ac..a672aaf 100644 --- a/src/components/markdown-editor.js +++ b/src/components/markdown-editor.js @@ -111,7 +111,7 @@ export default class MarkdownEditor extends React.Component {