|
|
|
@ -14,28 +14,41 @@
|
|
|
|
|
<script src="gcc.js"></script> |
|
|
|
|
<script src="ext/bootstrap/js/bootstrap.js"></script> |
|
|
|
|
<script src="ext/lz-string/lz-string-1.3.3-min.js"></script> |
|
|
|
|
<script type="text/javascript"> |
|
|
|
|
var _gaq = _gaq || []; |
|
|
|
|
_gaq.push(['_setAccount', OPTIONS.google_analytics_account]); |
|
|
|
|
_gaq.push(['_trackPageview']); |
|
|
|
|
<script type="text/javascript"> |
|
|
|
|
var _gaq = _gaq || []; |
|
|
|
|
_gaq.push(['_setAccount', OPTIONS.google_analytics_account]); |
|
|
|
|
_gaq.push(['_trackPageview']); |
|
|
|
|
|
|
|
|
|
(function() { |
|
|
|
|
"use strict"; |
|
|
|
|
function create_script_element (id, url) { |
|
|
|
|
var el = document.createElement('script'); el.type = 'text/javascript'; el.async = true; el.id = id; |
|
|
|
|
el.src = url; |
|
|
|
|
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(el, s); |
|
|
|
|
} |
|
|
|
|
create_script_element('urlshortener', 'urlshorten-' + OPTIONS.urlshortener + ".js"); |
|
|
|
|
if (OPTIONS.google_analytics_enabled) |
|
|
|
|
create_script_element('ga', ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'); |
|
|
|
|
if (OPTIONS.sharing_enabled) { |
|
|
|
|
create_script_element('gp', 'https://apis.google.com/js/plusone.js'); |
|
|
|
|
create_script_element('twitter-wjs', '//platform.twitter.com/widgets.js'); |
|
|
|
|
(function(document,script,id){var js,r=document.getElementsByTagName(script)[0],protocol=/^http:/.test(document.location)?'http':'https';if(!document.getElementById(id)){js=document.createElement(script);js.id=id;js.src=protocol+'://widgets.changetip.com/public/js/widgets.js';r.parentNode.insertBefore(js,r)}}(document,'script','changetip_w_0')); |
|
|
|
|
} |
|
|
|
|
})() |
|
|
|
|
</script> |
|
|
|
|
(function () { |
|
|
|
|
"use strict"; |
|
|
|
|
function create_script_element(id, url) { |
|
|
|
|
var el = document.createElement('script'); |
|
|
|
|
el.type = 'text/javascript'; |
|
|
|
|
el.async = true; |
|
|
|
|
el.id = id; |
|
|
|
|
el.src = url; |
|
|
|
|
var s = document.getElementsByTagName('script')[0]; |
|
|
|
|
s.parentNode.insertBefore(el, s); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
create_script_element('urlshortener', 'urlshorten-' + OPTIONS.urlshortener + ".js"); |
|
|
|
|
if (OPTIONS.google_analytics_enabled) |
|
|
|
|
create_script_element('ga', ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'); |
|
|
|
|
if (OPTIONS.sharing_enabled) { |
|
|
|
|
create_script_element('gp', 'https://apis.google.com/js/plusone.js'); |
|
|
|
|
create_script_element('twitter-wjs', '//platform.twitter.com/widgets.js'); |
|
|
|
|
(function (document, script, id) { |
|
|
|
|
var js, r = document.getElementsByTagName(script)[0], protocol = /^http:/.test(document.location) ? 'http' : 'https'; |
|
|
|
|
if (!document.getElementById(id)) { |
|
|
|
|
js = document.createElement(script); |
|
|
|
|
js.id = id; |
|
|
|
|
js.src = protocol + '://widgets.changetip.com/public/js/widgets.js'; |
|
|
|
|
r.parentNode.insertBefore(js, r) |
|
|
|
|
} |
|
|
|
|
}(document, 'script', 'changetip_w_0')); |
|
|
|
|
} |
|
|
|
|
})() |
|
|
|
|
</script> |
|
|
|
|
</head> |
|
|
|
|
<body> |
|
|
|
|
<div class="navbar navbar-fixed-top"> |
|
|
|
@ -135,24 +148,26 @@
|
|
|
|
|
<map name="ghm"> |
|
|
|
|
<area shape="poly" coords="16,0,149,133,149,0" href="https://github.com/mattgodbolt/gcc-explorer"> |
|
|
|
|
</map> |
|
|
|
|
<script type="text/javascript"> |
|
|
|
|
(function() { |
|
|
|
|
if (!OPTIONS.sharing_enabled) |
|
|
|
|
$('#share').remove(); |
|
|
|
|
<script type="text/javascript"> |
|
|
|
|
(function () { |
|
|
|
|
if (!OPTIONS.sharing_enabled) |
|
|
|
|
$('#share').remove(); |
|
|
|
|
|
|
|
|
|
if (OPTIONS.github_ribbon_enabled) { |
|
|
|
|
$(document.createElement('img')) |
|
|
|
|
.css({position: "absolute", |
|
|
|
|
top: "40px", |
|
|
|
|
right: 0, |
|
|
|
|
border: 0}) |
|
|
|
|
.attr('src', 'https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png') |
|
|
|
|
.attr('alt', 'Fork me on GitHub') |
|
|
|
|
.attr('useMap', '#ghm') |
|
|
|
|
.appendTo(document.body) |
|
|
|
|
} |
|
|
|
|
})(); |
|
|
|
|
</script> |
|
|
|
|
if (OPTIONS.github_ribbon_enabled) { |
|
|
|
|
$(document.createElement('img')) |
|
|
|
|
.css({ |
|
|
|
|
position: "absolute", |
|
|
|
|
top: "40px", |
|
|
|
|
right: 0, |
|
|
|
|
border: 0 |
|
|
|
|
}) |
|
|
|
|
.attr('src', 'https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png') |
|
|
|
|
.attr('alt', 'Fork me on GitHub') |
|
|
|
|
.attr('useMap', '#ghm') |
|
|
|
|
.appendTo(document.body) |
|
|
|
|
} |
|
|
|
|
})(); |
|
|
|
|
</script> |
|
|
|
|
</body> |
|
|
|
|
</html> |
|
|
|
|
|
|
|
|
|