Commit 0ecaceb63f91c39604c0955935f24e96b40d271a
1 parent
b7315eff
Exists in
master
estatisticas.coffee: modificado url da fonte para pegar http ou https conforme e…
…specificado pelo usu?rio
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
recipes/copa2014/assets/estatisticas.coffee
| ... | ... | @@ -3,7 +3,7 @@ |
| 3 | 3 | tipo = document.createAttribute("type") |
| 4 | 4 | tipo.nodeValue = "text/javascript" |
| 5 | 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 | 7 | novoScript.setAttributeNode tipo |
| 8 | 8 | novoScript.setAttributeNode src |
| 9 | 9 | head.appendChild novoScript | ... | ... |
recipes/default/assets/estatisticas.coffee
| ... | ... | @@ -3,7 +3,7 @@ |
| 3 | 3 | tipo = document.createAttribute("type") |
| 4 | 4 | tipo.nodeValue = "text/javascript" |
| 5 | 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 | 7 | novoScript.setAttributeNode tipo |
| 8 | 8 | novoScript.setAttributeNode src |
| 9 | 9 | head.appendChild novoScript | ... | ... |