Update DocumentUP

This commit is contained in:
Rafael Mendonça França
2012-02-22 14:58:44 -02:00
parent 23fb0e1be0
commit 15a134ff0c
2 changed files with 2 additions and 1 deletions

1
documentup.min.js vendored Normal file
View File

@@ -0,0 +1 @@
this.DocumentUp={},DocumentUp.document=function(a){var b;"string"==typeof a?(b=a,a=null):(b=a.repo,delete a.repo),window.callback=function(b){b.status===200&&(document.open(),document.write(b.html),document.close(),a&&a.afterRender&&typeof a.afterRender=="function"&&a.afterRender())};var c=document.createElement("script");c.src="http://documentup.com/"+b,a?c.src+="?config="+encodeURIComponent(JSON.stringify(a))+"&callback=callback":c.src+="?callback=callback",document.getElementsByTagName("head")[0].appendChild(c)}

View File

@@ -17,7 +17,7 @@
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/documentup/latest.min.js?0.1.1"></script>
<script src="documentup.min.js"></script>
<script>
DocumentUp.document({
repo: "plataformatec/devise",