Browser stuff
This commit is contained in:
parent
1a8ba8d8a2
commit
1615269a7b
@ -17,6 +17,7 @@ class CodeArea extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
submit(event) {
|
submit(event) {
|
||||||
|
/*
|
||||||
console.log("This", this.state.value);
|
console.log("This", this.state.value);
|
||||||
const options = {
|
const options = {
|
||||||
url: `${serverAddress}/input`,
|
url: `${serverAddress}/input`,
|
||||||
@ -27,6 +28,7 @@ class CodeArea extends React.Component {
|
|||||||
console.log("resp", response);
|
console.log("resp", response);
|
||||||
console.log("body", body);
|
console.log("body", body);
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
|
@ -11,7 +11,8 @@
|
|||||||
"browserify": "^14.4.0",
|
"browserify": "^14.4.0",
|
||||||
"react": "^15.6.1",
|
"react": "^15.6.1",
|
||||||
"react-dom": "^15.6.1",
|
"react-dom": "^15.6.1",
|
||||||
"request": "^2.82.0"
|
"request": "^2.82.0",
|
||||||
|
"uglify-js": "^3.1.1"
|
||||||
},
|
},
|
||||||
"babel": {
|
"babel": {
|
||||||
"presets": [
|
"presets": [
|
||||||
@ -20,6 +21,7 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "browserify main.jsx -t babelify -o bundle.js"
|
"build": "browserify main.jsx -t babelify -o bundle.js",
|
||||||
|
"build-minify": "browserify main.jsx -t babelify | uglifyjs > bundle.js"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -783,6 +783,10 @@ combined-stream@^1.0.5, combined-stream@~1.0.5:
|
|||||||
dependencies:
|
dependencies:
|
||||||
delayed-stream "~1.0.0"
|
delayed-stream "~1.0.0"
|
||||||
|
|
||||||
|
commander@~2.11.0:
|
||||||
|
version "2.11.0"
|
||||||
|
resolved "https://registry.yarnpkg.com/commander/-/commander-2.11.0.tgz#157152fd1e7a6c8d98a5b715cf376df928004563"
|
||||||
|
|
||||||
concat-map@0.0.1:
|
concat-map@0.0.1:
|
||||||
version "0.0.1"
|
version "0.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
|
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
|
||||||
@ -1727,7 +1731,7 @@ source-map-support@^0.4.15:
|
|||||||
dependencies:
|
dependencies:
|
||||||
source-map "^0.5.6"
|
source-map "^0.5.6"
|
||||||
|
|
||||||
source-map@^0.5.6, source-map@~0.5.3:
|
source-map@^0.5.6, source-map@~0.5.1, source-map@~0.5.3:
|
||||||
version "0.5.7"
|
version "0.5.7"
|
||||||
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
|
resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc"
|
||||||
|
|
||||||
@ -1869,6 +1873,13 @@ ua-parser-js@^0.7.9:
|
|||||||
version "0.7.14"
|
version "0.7.14"
|
||||||
resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.14.tgz#110d53fa4c3f326c121292bbeac904d2e03387ca"
|
resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.14.tgz#110d53fa4c3f326c121292bbeac904d2e03387ca"
|
||||||
|
|
||||||
|
uglify-js@^3.1.1:
|
||||||
|
version "3.1.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.1.1.tgz#e7144307281a1bc38a9a20715090b546c9f44791"
|
||||||
|
dependencies:
|
||||||
|
commander "~2.11.0"
|
||||||
|
source-map "~0.5.1"
|
||||||
|
|
||||||
umd@^3.0.0:
|
umd@^3.0.0:
|
||||||
version "3.0.1"
|
version "3.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/umd/-/umd-3.0.1.tgz#8ae556e11011f63c2596708a8837259f01b3d60e"
|
resolved "https://registry.yarnpkg.com/umd/-/umd-3.0.1.tgz#8ae556e11011f63c2596708a8837259f01b3d60e"
|
||||||
|
Loading…
Reference in New Issue
Block a user