From 22005cbb97cd05de23f69ca1dd9bcb55fcff4dfd Mon Sep 17 00:00:00 2001 From: Augusto Herrmann Date: Wed, 25 Sep 2013 09:56:06 -0300 Subject: [PATCH] removida a chamada ao Google Analytics --- assets/google-analytics.coffee | 14 -------------- barra-brasil-1.yaml | 1 - 2 files changed, 0 insertions(+), 15 deletions(-) delete mode 100755 assets/google-analytics.coffee 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