Skip to content
Browse files

added minified version

  • Loading branch information...
1 parent 71e9b0e commit d06dcc83da30fa1fc1e4204209321b0e6a3993b1 airportyh committed
Showing with 2 additions and 3 deletions.
  1. +1 −0 onready-min.js
  2. +1 −3 onready.js
View
1 onready-min.js
@@ -0,0 +1 @@
+(function(){var a;var f;if(window.addEventListener){a=function(g){window.addEventListener("DOMContentLoaded",g,false);window.addEventListener("load",g,false)};f=function(g){window.removeEventListener("DOMContentLoaded",g,false);window.removeEventListener("load",g,false)}}else{if(document.attachEvent){a=function(g){document.attachEvent("onreadystatechange",g);document.attachEvent("load",g)};f=function(g){document.detachEvent("onreadystatechange",g);document.detachEvent("load",g)}}}var e=null;var b=false;function d(){b=true;f(d);if(!e){return}for(var g=0;g<e.length;g++){e[g]()}e=null}function c(g){if(b){g();return}if(!e){e=[];a(d)}e.push(g)}window.OnReady=c})();
View
4 onready.js
@@ -44,6 +44,4 @@
callbacks.push(func)
}
window.OnReady = OnReady
-})()
-
-
+})()

0 comments on commit d06dcc8

Please sign in to comment.
Something went wrong with that request. Please try again.