(function(w){ // conditionally load hightlight.js /w sunburst css from cdn var codes = document.getElementsByTagName('code'); if (codes.length > 0) { var css = document.createElement("link"); css.setAttribute("rel", "stylesheet"); css.setAttribute("type", "text/css"); css.setAttribute("href", "https://d2xxklvztqk0jd.cloudfront.net/css/sunburst.css"); document.getElementsByTagName("head")[0].appendChild(css); var js = document.createElement('script'); js.setAttribute("type", "text/javascript"); js.setAttribute("async", true); js.onload = function() { hljs.initHighlighting(); }; js.setAttribute("src", "https://d2xxklvztqk0jd.cloudfront.net/js/highlight.js"); var t = document.getElementsByTagName('script')[0]; t.parentNode.insertBefore(js, t); } // analytics code (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(w,w.document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-9214337-4', 'auto'); ga('send', 'pageview'); })(window);