From 14f79c4c21d994da754e9c9948aea63efb61ecd0 Mon Sep 17 00:00:00 2001 From: sota1235 Date: Wed, 4 Jan 2017 23:15:32 +0900 Subject: [PATCH 1/4] modify: install libraries with using npm, not using oh-my-cdn --- package.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/package.json b/package.json index cc9b4528..0208e24c 100644 --- a/package.json +++ b/package.json @@ -53,6 +53,7 @@ "font-awesome": "^4.3.0", "immutable": "^3.8.1", "js-sequence-diagrams": "^1000000.0.6", + "katex": "^0.6.0", "lodash": "^4.11.1", "markdown-it": "^6.0.1", "markdown-it-checkbox": "^1.1.0", @@ -62,6 +63,11 @@ "mixpanel": "^0.4.1", "moment": "^2.10.3", "node-ipc": "^8.1.0", + "raphael": "^2.2.7", + "react": "^15.0.2", + "react-dom": "^15.0.2", + "react-redux": "^4.4.5", + "redux": "^3.5.2", "sander": "^0.5.1", "superagent": "^1.2.0", "superagent-promise": "^1.0.3" From 277004fd9b014dc44c95900690d2781370090d95 Mon Sep 17 00:00:00 2001 From: sota1235 Date: Wed, 4 Jan 2017 23:30:15 +0900 Subject: [PATCH 2/4] refactor: replace with files in node_modules --- browser/components/MarkdownPreview.js | 2 +- lib/finder.html | 12 ++++++------ lib/main.html | 14 +++++++------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/browser/components/MarkdownPreview.js b/browser/components/MarkdownPreview.js index 074abd44..c7ae7476 100644 --- a/browser/components/MarkdownPreview.js +++ b/browser/components/MarkdownPreview.js @@ -140,7 +140,7 @@ export default class MarkdownPreview extends React.Component { this.refs.root.contentWindow.document.head.innerHTML = ` - + ` diff --git a/lib/finder.html b/lib/finder.html index b5204798..d5870724 100644 --- a/lib/finder.html +++ b/lib/finder.html @@ -33,14 +33,14 @@ - + - - - - - + + + + + diff --git a/lib/main.html b/lib/main.html index 2505ae3c..4a335209 100644 --- a/lib/main.html +++ b/lib/main.html @@ -61,18 +61,18 @@ - + - - - - - - + + + + + + - + - +