Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

DocumentUp js.

  • Loading branch information...
commit a419e4ecfc2cf2ff33b177b5fad07b113a2a914d 1 parent 81060c0
@iafonov authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  documentup.min.js
View
1  documentup.min.js
@@ -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)}
Please sign in to comment.
Something went wrong with that request. Please try again.