Revert "holder causing issues on the public site, try it from the cdn instead"

This reverts commit 9c10f96482.
This commit is contained in:
Kevin Ross 2015-12-24 08:13:20 -06:00
parent 9c10f96482
commit 0a0cfd7df9
5 changed files with 14 additions and 7 deletions

View File

@ -388,8 +388,7 @@ module.exports = function (grunt) {
src: [ src: [
'**/*', '**/*',
'!tether.min.js', '!tether.min.js',
'!jquery.min.js', '!jquery.min.js'
'!holder.min.js'
], ],
dest: 'docs/assets/js/vendor/' dest: 'docs/assets/js/vendor/'
}, },

View File

@ -60,7 +60,6 @@ cdn:
jquery: https://ajax.googleapis.com/ajax/libs/jquery/VERSION/jquery.min.js jquery: https://ajax.googleapis.com/ajax/libs/jquery/VERSION/jquery.min.js
bootstrap: https://cdn.rawgit.com/twbs/bootstrap/VERSION/dist/js/bootstrap.min.js bootstrap: https://cdn.rawgit.com/twbs/bootstrap/VERSION/dist/js/bootstrap.min.js
tether: https://cdn.rawgit.com/HubSpot/tether/vVERSION/dist/js/tether.min.js tether: https://cdn.rawgit.com/HubSpot/tether/vVERSION/dist/js/tether.min.js
holder: https://cdn.rawgit.com/imsky/holder/v2.9.0/holder.min.js

View File

@ -21,10 +21,6 @@
<script src="{{ site.data.cdn.tether }}"></script> <script src="{{ site.data.cdn.tether }}"></script>
<script src="{{ site.data.cdn.bootstrap }}"></script> <script src="{{ site.data.cdn.bootstrap }}"></script>
<!-- Docs resources -->
<script src="{{ site.cdn.holder }}"></script>
{% if site.data.minified %} {% if site.data.minified %}
<script src="{{ site.baseurl }}/dist/js/{{ site.data.name }}.min.js"></script> <script src="{{ site.baseurl }}/dist/js/{{ site.data.name }}.min.js"></script>
<script src="{{ site.baseurl }}/assets/js/docs.min.js"></script> <script src="{{ site.baseurl }}/assets/js/docs.min.js"></script>

12
docs/assets/js/vendor/holder.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -3,6 +3,7 @@
"docsJs": [ "docsJs": [
"../assets/js/vendor/anchor.min.js", "../assets/js/vendor/anchor.min.js",
"../assets/js/vendor/clipboard.min.js", "../assets/js/vendor/clipboard.min.js",
"../assets/js/vendor/holder.min.js",
"../assets/js/dist/style.js", "../assets/js/dist/style.js",
"../assets/js/dist/application.js" "../assets/js/dist/application.js"
], ],