Commit 0ecaceb63f91c39604c0955935f24e96b40d271a

Authored by carlos.vieira
1 parent b7315eff
Exists in master

estatisticas.coffee: modificado url da fonte para pegar http ou https conforme e…

…specificado pelo usu?rio
recipes/copa2014/assets/estatisticas.coffee
@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 tipo = document.createAttribute("type") 3 tipo = document.createAttribute("type")
4 tipo.nodeValue = "text/javascript" 4 tipo.nodeValue = "text/javascript"
5 src = document.createAttribute("src") 5 src = document.createAttribute("src")
6 - src.nodeValue = "http://coletajavascript.serpro.gov.br/estatistica.js" 6 + src.nodeValue = "//coletajavascript.serpro.gov.br/estatistica.js"
7 novoScript.setAttributeNode tipo 7 novoScript.setAttributeNode tipo
8 novoScript.setAttributeNode src 8 novoScript.setAttributeNode src
9 head.appendChild novoScript 9 head.appendChild novoScript
recipes/default/assets/estatisticas.coffee
@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 tipo = document.createAttribute("type") 3 tipo = document.createAttribute("type")
4 tipo.nodeValue = "text/javascript" 4 tipo.nodeValue = "text/javascript"
5 src = document.createAttribute("src") 5 src = document.createAttribute("src")
6 - src.nodeValue = "http://coletajavascript.serpro.gov.br/estatistica.js" 6 + src.nodeValue = "//coletajavascript.serpro.gov.br/estatistica.js"
7 novoScript.setAttributeNode tipo 7 novoScript.setAttributeNode tipo
8 novoScript.setAttributeNode src 8 novoScript.setAttributeNode src
9 head.appendChild novoScript 9 head.appendChild novoScript