Remove jquery-scrollspy dependency

scrollspy is bootstrap built-in plugin
This commit is contained in:
Yukai Huang 2016-10-13 15:30:26 +08:00
parent 440ad3506c
commit bcb12b9ae7
3 changed files with 1 additions and 4 deletions

View file

@ -30,8 +30,7 @@
"velocity": "^1.3.1", "velocity": "^1.3.1",
"randomcolor": "randomColor#^0.4.4", "randomcolor": "randomColor#^0.4.4",
"Idle.Js": "idle.js#^1.0.0", "Idle.Js": "idle.js#^1.0.0",
"gist-embed": "*", "gist-embed": "*"
"jquery-scrollspy": "softwarespot/jquery-scrollspy"
}, },
"resolutions": { "resolutions": {
"jquery": "~3.1.1" "jquery": "~3.1.1"

View file

@ -21,7 +21,6 @@
<script src="//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" defer></script> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" defer></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/lodash.js/4.16.4/lodash.min.js" defer></script> <script src="//cdnjs.cloudflare.com/ajax/libs/lodash.js/4.16.4/lodash.min.js" defer></script>
<script src="<% url %>/vendor/jquery-scrollspy/jquery-scrollspy.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/socket.io/1.5.0/socket.io.min.js" defer></script> <script src="//cdnjs.cloudflare.com/ajax/libs/socket.io/1.5.0/socket.io.min.js" defer></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/viz.js/1.3.0/viz.js" defer></script> <script src="//cdnjs.cloudflare.com/ajax/libs/viz.js/1.3.0/viz.js" defer></script>
<%- include build/index-scripts %> <%- include build/index-scripts %>

View file

@ -102,7 +102,6 @@
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" defer></script> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" defer></script>
<script src="<% url %>/vendor/jquery-scrollspy/jquery-scrollspy.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/lodash.js/4.16.4/lodash.min.js" defer></script> <script src="//cdnjs.cloudflare.com/ajax/libs/lodash.js/4.16.4/lodash.min.js" defer></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/viz.js/1.3.0/viz.js" defer></script> <script src="//cdnjs.cloudflare.com/ajax/libs/viz.js/1.3.0/viz.js" defer></script>
<%- include build/pretty-scripts %> <%- include build/pretty-scripts %>