Skip to content

Commit ded352c

Browse files
demo(all): use protocol-less URLs
Fixes angular-ui#2070 Closes angular-ui#2068
1 parent e0eb1bc commit ded352c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

misc/demo/assets/plunker.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ angular.module('plunker', [])
1515
return '<!doctype html>\n' +
1616
'<html ng-app="plunker">\n' +
1717
' <head>\n' +
18-
' <script src="http://ajax.googleapis.com/ajax/libs/angularjs/'+ngVersion+'/angular.js"></script>\n' +
19-
' <script src="http://angular-ui.github.io/bootstrap/ui-bootstrap-tpls-'+version+'.js"></script>\n' +
18+
' <script src="//ajax.googleapis.com/ajax/libs/angularjs/'+ngVersion+'/angular.js"></script>\n' +
19+
' <script src="//angular-ui.github.io/bootstrap/ui-bootstrap-tpls-'+version+'.js"></script>\n' +
2020
' <script src="example.js"></script>\n' +
2121
' <link href="//netdna.bootstrapcdn.com/bootstrap/'+bsVersion+'/css/bootstrap.min.css" rel="stylesheet">\n' +
2222
' </head>\n' +

misc/demo/index.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
<meta name="description" content="AngularJS (Angular) native directives for Bootstrap. Small footprint (5kB gzipped!), no 3rd party JS dependencies (jQuery, bootstrap JS) required! Widgets: <% demoModules.forEach(function(module) { %><%= module.displayName %>, <% }); %>">
99
<meta name="google-site-verification" content="7lc5HyceLDqpV_6oNHteYFfxDJH7-S3DwnJKtNUKcRg" />
1010

11-
<script src="http://cdnjs.cloudflare.com/ajax/libs/fastclick/0.6.7/fastclick.min.js"></script>
12-
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/<%= ngversion %>/angular.min.js"></script>
13-
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/<%= ngversion %>/angular-touch.min.js"></script>
11+
<script src="//cdnjs.cloudflare.com/ajax/libs/fastclick/0.6.7/fastclick.min.js"></script>
12+
<script src="//ajax.googleapis.com/ajax/libs/angularjs/<%= ngversion %>/angular.min.js"></script>
13+
<script src="//ajax.googleapis.com/ajax/libs/angularjs/<%= ngversion %>/angular-touch.min.js"></script>
1414
<script src="ui-bootstrap-tpls-<%= pkg.version%>.min.js"></script>
1515
<script src="assets/plunker.js"></script>
1616
<script src="assets/app.js"></script>
1717

18-
<link href="http://netdna.bootstrapcdn.com/bootstrap/<%= bsversion %>/css/bootstrap.min.css" rel="stylesheet"/>
18+
<link href="//netdna.bootstrapcdn.com/bootstrap/<%= bsversion %>/css/bootstrap.min.css" rel="stylesheet"/>
1919
<link rel="stylesheet" href="assets/rainbow.css"/>
2020
<link rel="stylesheet" href="assets/demo.css"/>
2121
<link rel="author" href="https://github.com/angular-ui/bootstrap/graphs/contributors">
@@ -80,11 +80,11 @@ <h1>
8080
<div class="bs-social container">
8181
<ul class="bs-social-buttons">
8282
<li>
83-
<iframe src="http://ghbtns.com/github-btn.html?user=angular-ui&repo=bootstrap&type=watch&count=true"
83+
<iframe src="//ghbtns.com/github-btn.html?user=angular-ui&repo=bootstrap&type=watch&count=true"
8484
allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe>
8585
</li>
8686
<li>
87-
<iframe src="http://ghbtns.com/github-btn.html?user=angular-ui&repo=bootstrap&type=fork&count=true"
87+
<iframe src="//ghbtns.com/github-btn.html?user=angular-ui&repo=bootstrap&type=fork&count=true"
8888
allowtransparency="true" frameborder="0" scrolling="0" width="110" height="20"></iframe>
8989
</li>
9090
<li>

0 commit comments

Comments
 (0)