diff --git a/assets/google-analytics.coffee b/assets/google-analytics.coffee deleted file mode 100755 index 7aaf472..0000000 --- a/assets/google-analytics.coffee +++ /dev/null @@ -1,14 +0,0 @@ -_getDomain = -> - window.location.hostname.match(/(?:www[0-9]?\.)?(.[^/:]+)/)[1] -_gaq = _gaq or [] -_gaq.push ["_setAccount", "UA-38119387-1"] -_gaq.push ["_setDomainName", _getDomain] -_gaq.push ["_trackPageview"] -(-> - ga = document.createElement("script") - ga.type = "text/javascript" - ga.async = true - ga.src = ((if "https:" is document.location.protocol then "https://ssl" else "http://www")) + ".google-analytics.com/ga.js" - s = document.getElementsByTagName("script")[0] - s.parentNode.insertBefore ga, s -)() diff --git a/barra-brasil-1.yaml b/barra-brasil-1.yaml index 0640da3..83c275f 100644 --- a/barra-brasil-1.yaml +++ b/barra-brasil-1.yaml @@ -8,7 +8,6 @@ generate: source: - assets/conteudo-barra.html - assets/barra-brasil.coffee - - assets/google-analytics.coffee - raw: "})();" # fechamento do escopo da funcao anonima (ver template abaixo) template: | (function(){ -- libgit2 0.21.2