Skip to content

Commit

Permalink
package up react instead of preact
Browse files Browse the repository at this point in the history
  • Loading branch information
rgbkrk committed Oct 1, 2017
1 parent 82c3357 commit cc86735
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
3 changes: 1 addition & 2 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@
"marked": "~0.3",
"MathJax": "components/MathJax#~2.6",
"moment": "~2.8.4",
"preact": "https://unpkg.com/preact@^7.2.0/dist/preact.min.js",
"preact-compat": "https://unpkg.com/preact-compat@^3.14.3/dist/preact-compat.min.js",
"proptypes": "https://unpkg.com/proptypes@^0.14.4/index.js",
"react": "~16.0.0",
"requirejs": "~2.1",
"requirejs-text": "~2.0.15",
"requirejs-plugins": "~1.0.3",
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@
"less": "~2",
"requirejs": "^2.1.17"
},
"dependencies": {
}
"dependencies": {}
}
4 changes: 2 additions & 2 deletions setupbase.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,9 @@ def find_package_data():
pjoin(components, "jquery-ui", "themes", "smoothness", "jquery-ui.min.css"),
pjoin(components, "jquery-ui", "themes", "smoothness", "images", "*"),
pjoin(components, "marked", "lib", "marked.js"),
pjoin(components, "preact", "index.js"),
pjoin(components, "preact-compat", "index.js"),
pjoin(components, "proptypes", "index.js"),
pjoin(components, "react", "react.production.min.js"),
pjoin(components, "react", "react-dom.production.min.js"),
pjoin(components, "requirejs", "require.js"),
pjoin(components, "requirejs-plugins", "src", "json.js"),
pjoin(components, "requirejs-text", "text.js"),
Expand Down
2 changes: 2 additions & 0 deletions tools/build-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ var rjs_config = {
codemirror: 'components/codemirror',
xterm: 'components/xterm.js/dist/xterm',
typeahead: 'components/jquery-typeahead/dist/jquery.typeahead',
react: 'components/react/react.production.min',
"react-dom": 'components/react/react-dom.production.min',
contents: 'empty:',
custom: 'empty:',
},
Expand Down

0 comments on commit cc86735

Please sign in to comment.