Skip to content

Commit 1e7c3dc

Browse files
authored
fix: remove useless javascript (#174)
* fix: remove useless javascript * docs: remove packages * fix: add popper.js
1 parent 3c4ed09 commit 1e7c3dc

File tree

6 files changed

+2
-46
lines changed

6 files changed

+2
-46
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ Chih-Hao Chin,
5252
[jQuery](https://github.com/jquery/jquery),
5353
[jQuery Easing Plugin](https://github.com/gdsmith/jquery.easing),
5454
[Magnific Popup](https://github.com/dimsemenov/Magnific-Popup),
55-
[ScrollReveal](https://github.com/scrollreveal/scrollreveal),
5655
[Bootstrap](https://github.com/twbs/bootstrap),
5756
[Start Bootstrap - Creative](https://github.com/BlackrockDigital/startbootstrap-creative),
5857
[D3](https://github.com/d3/d3),

docs/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ reacnetgeneratorgui
103103
[jQuery](https://github.com/jquery/jquery),
104104
[jQuery Easing Plugin](https://github.com/gdsmith/jquery.easing),
105105
[Magnific Popup](https://github.com/dimsemenov/Magnific-Popup),
106-
[ScrollReveal](https://github.com/scrollreveal/scrollreveal),
107106
[Bootstrap](https://github.com/twbs/bootstrap),
108107
[Start Bootstrap - Creative](https://github.com/BlackrockDigital/startbootstrap-creative),
109108
[D3](https://github.com/d3/d3),

docs/zh/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ reacnetgeneratorgui
103103
[jQuery](https://github.com/jquery/jquery),
104104
[jQuery Easing Plugin](https://github.com/gdsmith/jquery.easing),
105105
[Magnific Popup](https://github.com/dimsemenov/Magnific-Popup),
106-
[ScrollReveal](https://github.com/scrollreveal/scrollreveal),
107106
[Bootstrap](https://github.com/twbs/bootstrap),
108107
[Start Bootstrap - Creative](https://github.com/BlackrockDigital/startbootstrap-creative),
109108
[D3](https://github.com/d3/d3),

reacnetgenerator/static/webpack/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
"jquery.easing": "1.4.1",
2020
"jsnetworkx": "0.3.4",
2121
"magnific-popup": "1.1.0",
22-
"popper.js": "1.15.0",
23-
"scrollreveal": "4.0.5",
22+
"popper.js": "^1.15.0",
2423
"startbootstrap-creative": "5.1.4",
2524
"string-replace-webpack-plugin": "0.1.3",
2625
"style-loader": "0.23.1",

reacnetgenerator/static/webpack/reacnetgen.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import './reacnetgen.css';
88
global.$ = global.jQuery = require('jquery');
99
require('bootstrap');
1010
require('jquery.easing');
11-
require('scrollreveal');
1211
require("magnific-popup");
1312
require('startbootstrap-creative/js/creative.min');
1413
var jsnx = require("jsnetworkx");

reacnetgenerator/static/webpack/yarn.lock

Lines changed: 1 addition & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1437,18 +1437,6 @@ is-descriptor@^1.0.0, is-descriptor@^1.0.2:
14371437
is-data-descriptor "^1.0.0"
14381438
kind-of "^6.0.2"
14391439

1440-
is-dom-node-list@^1.2.1:
1441-
version "1.2.1"
1442-
resolved "https://registry.yarnpkg.com/is-dom-node-list/-/is-dom-node-list-1.2.1.tgz#141ded0c66de759d0976800d21370bb908f2950f"
1443-
integrity sha1-FB3tDGbedZ0JdoANITcLuQjylQ8=
1444-
dependencies:
1445-
is-dom-node "^1.0.4"
1446-
1447-
is-dom-node@^1.0.4:
1448-
version "1.0.4"
1449-
resolved "https://registry.yarnpkg.com/is-dom-node/-/is-dom-node-1.0.4.tgz#abb18af7133f1e687610cfeb274da1ced342f1c5"
1450-
integrity sha1-q7GK9xM/Hmh2EM/rJ02hztNC8cU=
1451-
14521440
is-extendable@^0.1.0, is-extendable@^0.1.1:
14531441
version "0.1.1"
14541442
resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89"
@@ -1789,11 +1777,6 @@ minipass@^2.2.1, minipass@^2.3.4:
17891777
safe-buffer "^5.1.2"
17901778
yallist "^3.0.0"
17911779

1792-
1793-
version "1.0.0"
1794-
resolved "https://registry.yarnpkg.com/miniraf/-/miniraf-1.0.0.tgz#5d88e108bbdcb55b4a2ff3da337f24a13a3377e1"
1795-
integrity sha1-XYjhCLvctVtKL/PaM38koTozd+E=
1796-
17971780
minizlib@^1.1.1:
17981781
version "1.2.1"
17991782
resolved "https://registry.yarnpkg.com/minizlib/-/minizlib-1.2.1.tgz#dd27ea6136243c7c880684e8672bb3a45fd9b614"
@@ -2175,7 +2158,7 @@ pkg-dir@^3.0.0:
21752158
dependencies:
21762159
find-up "^3.0.0"
21772160

2178-
2161+
popper.js@^1.15.0:
21792162
version "1.15.0"
21802163
resolved "https://registry.yarnpkg.com/popper.js/-/popper.js-1.15.0.tgz#5560b99bbad7647e9faa475c6b8056621f5a4ff2"
21812164
integrity sha512-w010cY1oCUmI+9KwwlWki+r5jxKfTFDVoadl7MSrIujHU5MJ5OR6HTDj6Xo8aoR/QsA56x8jKjA59qGH4ELtrA==
@@ -2377,11 +2360,6 @@ regex-not@^1.0.0, regex-not@^1.0.2:
23772360
extend-shallow "^3.0.2"
23782361
safe-regex "^1.1.0"
23792362

2380-
2381-
version "0.3.0"
2382-
resolved "https://registry.yarnpkg.com/rematrix/-/rematrix-0.3.0.tgz#4f3f9156aa80ded8a8ca23785f48c6012b6dea4a"
2383-
integrity sha1-Tz+RVqqA3tioyiN4X0jGAStt6ko=
2384-
23852363
remove-trailing-separator@^1.0.1:
23862364
version "1.1.0"
23872365
resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef"
@@ -2490,15 +2468,6 @@ schema-utils@^1.0.0:
24902468
ajv-errors "^1.0.0"
24912469
ajv-keywords "^3.1.0"
24922470

2493-
2494-
version "4.0.5"
2495-
resolved "https://registry.yarnpkg.com/scrollreveal/-/scrollreveal-4.0.5.tgz#cf83cc5d9874dc0d92ef9c89a8894e57f3f8e034"
2496-
integrity sha512-dyQ0BPOLuoRzKAEwGgVaZsN4mxErHnuzh3Wq0ygE/PteGHeTCOubBoTzxSoix5UGLOUYMDapNAwajfQCB483aw==
2497-
dependencies:
2498-
miniraf "1.0.0"
2499-
rematrix "0.3.0"
2500-
tealight "0.3.6"
2501-
25022471
semver@^5.3.0, semver@^5.5.0:
25032472
version "5.6.0"
25042473
resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004"
@@ -2819,14 +2788,6 @@ tar@^4:
28192788
safe-buffer "^5.1.2"
28202789
yallist "^3.0.2"
28212790

2822-
2823-
version "0.3.6"
2824-
resolved "https://registry.yarnpkg.com/tealight/-/tealight-0.3.6.tgz#14c8071ce3c188972a5cb7d8a5668ca2820b4292"
2825-
integrity sha1-FMgHHOPBiJcqXLfYpWaMooILQpI=
2826-
dependencies:
2827-
is-dom-node "^1.0.4"
2828-
is-dom-node-list "^1.2.1"
2829-
28302791
[email protected], terser-webpack-plugin@^1.1.0:
28312792
version "1.2.3"
28322793
resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-1.2.3.tgz#3f98bc902fac3e5d0de730869f50668561262ec8"

0 commit comments

Comments
 (0)