Skip to content

Commit de94e7a

Browse files
committed
Merged in [10536] from lars@netapp.com:
Manage html5shiv and respond.js locally via bower, rather than relying on the CDN. - Legacy-Id: 10560 Note: SVN reference [10536] has been migrated to Git commit 73ad125
2 parents f987407 + 73ad125 commit de94e7a

4 files changed

Lines changed: 16 additions & 2 deletions

File tree

ietf/bower.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@
66
"dependencies": {
77
"bootstrap-datepicker": "1.5.0",
88
"font-awesome": "4.5.0",
9+
"html5shiv": "3.7.3",
910
"jquery": "1.11.3",
1011
"jquery.cookie": "1.4.1",
12+
"respond": "1.4.2",
1113
"select2": "3.5.4",
1214
"select2-bootstrap-css": "1.4.6"
1315
},
@@ -18,6 +20,9 @@
1820
"./css/font-awesome.min.css",
1921
"./fonts/*"
2022
]
23+
},
24+
"respond": {
25+
"main": "dest/respond.min.js"
2126
}
2227
}
2328
}

ietf/externals/static/html5shiv/html5shiv.min.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ietf/externals/static/respond/dest/respond.min.js

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ietf/templates/base.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
</style>
2727

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

0 commit comments

Comments
 (0)