Commit 22005cbb97cd05de23f69ca1dd9bcb55fcff4dfd

Authored by Augusto Herrmann
1 parent 222194a3
Exists in master

removida a chamada ao Google Analytics

assets/google-analytics.coffee
... ... @@ -1,14 +0,0 @@
1   -_getDomain = ->
2   - window.location.hostname.match(/(?:www[0-9]?\.)?(.[^/:]+)/)[1]
3   -_gaq = _gaq or []
4   -_gaq.push ["_setAccount", "UA-38119387-1"]
5   -_gaq.push ["_setDomainName", _getDomain]
6   -_gaq.push ["_trackPageview"]
7   -(->
8   - ga = document.createElement("script")
9   - ga.type = "text/javascript"
10   - ga.async = true
11   - ga.src = ((if "https:" is document.location.protocol then "https://ssl" else "http://www")) + ".google-analytics.com/ga.js"
12   - s = document.getElementsByTagName("script")[0]
13   - s.parentNode.insertBefore ga, s
14   -)()
barra-brasil-1.yaml
... ... @@ -8,7 +8,6 @@ generate:
8 8 source:
9 9 - assets/conteudo-barra.html
10 10 - assets/barra-brasil.coffee
11   - - assets/google-analytics.coffee
12 11 - raw: "})();" # fechamento do escopo da funcao anonima (ver template abaixo)
13 12 template: |
14 13 (function(){
... ...