Skip to content

Commit 39fd8e6

Browse files
committed
Remove http
1 parent c5d3f65 commit 39fd8e6

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

index.html

+5-5
Original file line numberDiff line numberDiff line change
@@ -105,16 +105,16 @@
105105

106106
<div id='top-space' ></div>
107107
<div id="full-header" class='sticky-header'>
108-
<a href="http://bloomberg.com/"><img id="header-logo" class='white' src="http://www.bloomberg.com/graphics/assets/img/BB-Logo-2line-wb.svg"></a>
108+
<a href="http://bloomberg.com/"><img id="header-logo" class='white' src="//www.bloomberg.com/graphics/assets/img/BB-Logo-2line-wb.svg"></a>
109109

110110
<div id="hidden-banner-ad">
111111
<div id='top-ad-container' class="container bannerad"></div>
112112

113113
</div>
114114

115115
<div id="header-sharing">
116-
<div class="header-icon" id="header-icon-twitter"><img class="blue" src="http://www.bloomberg.com/graphics/assets/img/twitter.png"><img class="white" src="http://www.bloomberg.com/graphics/assets/img/twitter_w.png"></div>
117-
<div class="header-icon" id="header-icon-fb"><img class="blue" src="http://www.bloomberg.com/graphics/assets/img/facebook.png"><img class="white" src="http://www.bloomberg.com/graphics/assets/img/facebook_w.png"></div>
116+
<div class="header-icon" id="header-icon-twitter"><img class="blue" src="//www.bloomberg.com/graphics/assets/img/twitter.png"><img class="white" src="//www.bloomberg.com/graphics/assets/img/twitter_w.png"></div>
117+
<div class="header-icon" id="header-icon-fb"><img class="blue" src="//www.bloomberg.com/graphics/assets/img/facebook.png"><img class="white" src="//www.bloomberg.com/graphics/assets/img/facebook_w.png"></div>
118118
</div>
119119
<div id='sharing-space' style='width: 100px;'></div>
120120
</div>
@@ -201,7 +201,7 @@ <h2 id="the-man-in-the-taupe-blazer"><a href="#the-man-in-the-taupe-blazer">1</a
201201

202202
<div class="video-wrapper">
203203
<div class="video-wrapper-inner">
204-
<script src='//cdn.gotraffic.net/projector/latest/bplayer.js'>BPlayer(null, {"id":"P4_i7PihRGiWcPh3gdNMhg","htmlChildId":"bbg-video-player-P4_i7PihRGiWcPh3gdNMhg","serverUrl":"http://www.bloomberg.com/api/embed","idType":"BMMR","autoplay":false,"video_autoplay_on_page":false,"log_debug":false,"ui_controls_popout":false,"use_js_ads":true,"ad_code_prefix":"","ad_tag_gpt_preroll":true,"ad_tag_gpt_midroll":true,"ad_tag_sz_preroll":"1x7","ad_tag_sz_midroll":"1x7","ad_tag_sz_overlay":"1x7","ad_network_id_preroll":"5262","ad_network_id_midroll":"5262","ad_network_id_overlay":"5262","ad_tag_cust_params_preroll":"","ads_vast_timeout":10000,"ads_playback_timeout":10000,"wmode":"opaque","use_comscore":true,"comscore_ns_site":"bloomberg","comscore_page_level_tags":{"bb_brand":"bbiz","bss_cont_play":0,"bb_region":"US"},"use_chartbeat":true,"chartbeat_uid":"15087","chartbeat_domain":"bloomberg.com","use_share_overlay":true,"share_metadata":{"canonical_url":"http://bloom.bg/1GzwRDU"},"vertical":"business","ad_tag_overlay":"business/videooverlay","zone":"video","source":"BBIZweb","module_conviva_insights":"enabled","conviva_account":"c3.Bloomberg","width":640,"height":360,"ad_tag":"","ad_tag_midroll":"","offsite_embed":false});</script>
204+
<script src='//cdn.gotraffic.net/projector/latest/bplayer.js'>BPlayer(null, {"id":"P4_i7PihRGiWcPh3gdNMhg","htmlChildId":"bbg-video-player-P4_i7PihRGiWcPh3gdNMhg","serverUrl":"//www.bloomberg.com/api/embed","idType":"BMMR","autoplay":false,"video_autoplay_on_page":false,"log_debug":false,"ui_controls_popout":false,"use_js_ads":true,"ad_code_prefix":"","ad_tag_gpt_preroll":true,"ad_tag_gpt_midroll":true,"ad_tag_sz_preroll":"1x7","ad_tag_sz_midroll":"1x7","ad_tag_sz_overlay":"1x7","ad_network_id_preroll":"5262","ad_network_id_midroll":"5262","ad_network_id_overlay":"5262","ad_tag_cust_params_preroll":"","ads_vast_timeout":10000,"ads_playback_timeout":10000,"wmode":"opaque","use_comscore":true,"comscore_ns_site":"bloomberg","comscore_page_level_tags":{"bb_brand":"bbiz","bss_cont_play":0,"bb_region":"US"},"use_chartbeat":true,"chartbeat_uid":"15087","chartbeat_domain":"bloomberg.com","use_share_overlay":true,"share_metadata":{"canonical_url":"//bloom.bg/1GzwRDU"},"vertical":"business","ad_tag_overlay":"business/videooverlay","zone":"video","source":"BBIZweb","module_conviva_insights":"enabled","conviva_account":"c3.Bloomberg","width":640,"height":360,"ad_tag":"","ad_tag_midroll":"","offsite_embed":false});</script>
205205
</div>
206206
</div>
207207

@@ -2422,7 +2422,7 @@ <h3 id="should-you-learn-to-code"><a href="#should-you-learn-to-code">7.5</a> Sh
24222422
<strong>Paul Ford</strong> is a writer and programmer who lives in Brooklyn, N.Y. He is a founding partner of <a href="http://postlight.com/" target="_blank">Postlight</a>, a company in New York City that builds Internet platforms and develops interactive products. He is writing a book of essays about Web pages that Farrar, Straus and Giroux will publish in 2016. His article, “<a href="http://www.bloomberg.com/bw/articles/2013-11-07/the-hidden-technology-that-makes-twitter-huge" target="_blank">The Surprising Sophistication of Twitter</a>,” appeared in the Nov. 7, 2013, issue of <em>Bloomberg Businessweek</em>. E-mail: <a href="mailto:[email protected]" target="_blank">[email protected]</a>. Twitter: <a href="https://twitter.com/ftrain" target="_blank">@ftrain</a>. GitHub: <a href="https://github.com/ftrain" target="_blank">ftrain</a>.</p>
24232423
</div>
24242424

2425-
<p><iframe src="https://ghbtns.com/github-btn.html?user=bloombergmedia&repo=whatiscode&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe></p>
2425+
<p><iframe src="//ghbtns.com/github-btn.html?user=bloombergmedia&repo=whatiscode&type=star&count=true&size=large" frameborder="0" scrolling="0" width="160px" height="30px"></iframe></p>
24262426

24272427
<img class="centered" src="images/emotes/waving.gif" style="margin-top: 5em;" width="100">
24282428

module.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
}
1717
</style>
1818

19-
<link rel="stylesheet" type="text/css" href="http://www.bloomberg.com/graphics/assets/css/fonts.css"/>
19+
<link rel="stylesheet" type="text/css" href="//www.bloomberg.com/graphics/assets/css/fonts.css"/>
2020

2121

2222
</head>

reggaegg.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33

44
<head>
55
<link rel="stylesheet" type="text/css" href="styles/reggaegg.css">
6-
<link rel="stylesheet" type="text/css" href="http://www.bloomberg.com/graphics/assets/css/fonts.css"/>
6+
<link rel="stylesheet" type="text/css" href="//www.bloomberg.com/graphics/assets/css/fonts.css"/>
77

88
</head>
99

1010
<body>
1111

12-
<iframe id="music" width="20" height="15" src="https://www.youtube.com/embed/0T3tg6Xwt7A?autoplay=1&amp;rel=0&amp;showinfo=0" frameborder="0" allowfullscreen></iframe>
12+
<iframe id="music" width="20" height="15" src="//www.youtube.com/embed/0T3tg6Xwt7A?autoplay=1&amp;rel=0&amp;showinfo=0" frameborder="0" allowfullscreen></iframe>
1313

1414
<div id="space">
1515
<div class="stars"></div>
@@ -67,4 +67,4 @@
6767
</script>
6868

6969
</body>
70-
</html>
70+
</html>

scripts/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
var originalArticle;
22
var loadTime = new Date();
3-
var baseUrl = "http://bloomberg.com/graphics/2015-paul-ford-what-is-code/";
3+
var baseUrl = "//bloomberg.com/graphics/2015-paul-ford-what-is-code/";
44

55
var modules = [
66
{

scripts/share.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
function initInnerShare() {
22
if (isTerminal) return
33

4-
var fullUrl = "http://www.bloomberg.com/graphics/2015-paul-ford-what-is-code/";
4+
var fullUrl = "//www.bloomberg.com/graphics/2015-paul-ford-what-is-code/";
55

66
var moduleByName = d3.nest()
77
.key(function(d){ return d.name })
@@ -36,7 +36,7 @@ function initInnerShare() {
3636
event.preventDefault()
3737
var data = moduleByName[d3.select(this).attr('data-mname')][0];
3838
// var data = shareData();
39-
var tweetUrl = "https://twitter.com/share?url=" + encodeURIComponent(fullUrl+"#"+data.name) + "&text=" + encodeURIComponent(data.tweet);
39+
var tweetUrl = "//twitter.com/share?url=" + encodeURIComponent(fullUrl+"#"+data.name) + "&text=" + encodeURIComponent(data.tweet);
4040
var opts = that.centerPopup(820, 440) + "scrollbars=1";
4141
track("Twitter");
4242
window.open(tweetUrl, 'twitter', opts);

scripts/tracker.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ var _gaq = _gaq || [];
204204
var ga_account = window.location.pathname.split('/')[1]=='politics' ? 'UA-11413116-58' : 'UA-11413116-1'
205205
_gaq.push(['_setAccount', ga_account]);
206206
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
207-
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
207+
ga.src = ('https:' == document.location.protocol ? '//ssl' : '//www') + '.google-analytics.com/ga.js';
208208
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
209209

210210
window._sf_endpt=(new Date()).getTime();
@@ -348,7 +348,7 @@ var Tracker = function(config, pageViewActions, refeshAdsFun) {
348348
// var new_leader = '<iframe width="728" height="90" id="lb_ad_frame" style="visibility:hidden;"' +
349349
// 'onload="this.style.visibility=' + "'visible'" +
350350
// '" class="ad_frame" scrolling="no" frameborder="no" src="' +
351-
// 'http://www.bloomberg.com/graphics/assets/ad.html?url=/' + config.bb_slug +
351+
// '//www.bloomberg.com/graphics/assets/ad.html?url=/' + config.bb_slug +
352352
// "&size=728x90|1x1&iu="+config.ad_code+"&correlator=" +
353353
// (config.correlator || new String(Math.random()).substring(2,11));
354354

@@ -418,7 +418,7 @@ var Tracker = function(config, pageViewActions, refeshAdsFun) {
418418
var new_leader = '<iframe ' + sizeStr + ' id="lb_ad_frame" style="visibility:hidden;"' +
419419
'onload="this.style.visibility=' + "'visible'" +
420420
'" class="ad_frame" scrolling="no" frameborder="no" src="' +
421-
'http://www.bloomberg.com/graphics/assets/ad.html?url=/' + config.bb_slug +
421+
'//www.bloomberg.com/graphics/assets/ad.html?url=/' + config.bb_slug +
422422
"&size=" + sizeParm + "&iu="+config.ad_code+"&correlator=" +
423423
(config.correlator || new String(Math.random()).substring(2,11));
424424

0 commit comments

Comments
 (0)