Skip to content

Commit

Permalink
Manage html5shiv and respond.js locally via bower, rather than relyin…
Browse files Browse the repository at this point in the history
…g on the

CDN. Commit ready for merge.
 - Legacy-Id: 10536
  • Loading branch information
larseggert committed Dec 3, 2015
1 parent d3088fa commit 73ad125
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ietf/bower.json
Expand Up @@ -6,8 +6,10 @@
"dependencies": {
"bootstrap-datepicker": "1.5.0",
"font-awesome": "4.5.0",
"html5shiv": "3.7.3",
"jquery": "1.11.3",
"jquery.cookie": "1.4.1",
"respond": "1.4.2",
"select2": "3.5.4",
"select2-bootstrap-css": "1.4.6"
},
Expand All @@ -18,6 +20,9 @@
"./css/font-awesome.min.css",
"./fonts/*"
]
},
"respond": {
"main": "dest/respond.min.js"
}
}
}
4 changes: 4 additions & 0 deletions ietf/externals/static/html5shiv/html5shiv.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions ietf/externals/static/respond/dest/respond.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ietf/templates/base.html
Expand Up @@ -26,8 +26,8 @@
</style>

<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<script src="{% static 'html5shiv/html5shiv.min.js' %}"></script>
<script src="{% static 'respond/dest/respond.min.js' %}"></script>
<![endif]-->
{% block pagehead %}{% endblock %}

Expand Down

0 comments on commit 73ad125

Please sign in to comment.