Commits

Scott Koon committed 87bd0c2

compacted and removed console.log call

Comments (0)

Files changed (2)

-var bootstrap=function(){function p(a,c){var b=document.createElement("script");b.setAttribute("type","text/javascript");b.src=a;b.id=c;return b}function q(a,c){var b=document.createElement("link");b.rel="stylesheet";b.type="text/css";b.href=a;b.id=c;return b}var h=[];return window.bootstrap=window.$b=function(a,c,b){function k(r,l){for(var g,i,d=0,e=h.length;d<e;){if(h[d]==a)return false;d++}if(l==="js"){g=document.getElementsByTagName("script");i="src"}else if(l==="css"){g=document.getElementsByTagName("link");
-i="href"}d=function(){for(var m=[],n=g.length;n-- >0;)n in g&&m.push(g.c);return m};e=0;for(var s=d.length;e<s;e++)if(i in d[e]&&d[e][i]==r)return false;return true}var t=document.head||document.getElementsByTagName("head")[0],o=c||"script"+Math.floor(Math.random()*1234),j=false,f=null;if(a.indexOf(".js")>-1&&k(a,"js")){h.push(a);f=p(a,o)}if(a.indexOf(".css")>-1&&k(a,"css")){h.push(a);f=q(a,o)}if(f){f.onload=function(){j=true};f.onreadystatechange=function(){if(!j)if(this.readyState=="loaded"||this.readyState==
-"complete")j=true};t.appendChild(f)}c=window.setInterval(function(){if(j){window.clearInterval(c);b!=undefined&&b()}},0)}}();
+var bootstrap=function(){function r(c,b){var a=document.createElement("script");a.setAttribute("type","text/javascript");a.src=c;a.id=b;return a}function s(c,b){var a=document.createElement("link");a.rel="stylesheet";a.type="text/css";a.href=c;a.id=b;return a}function t(c){for(var b in c)m(c[b],b)}var i=[],m=function(){function c(u,n){for(var h,j,d=0,f=i.length;d<f;){if(i[d]==a)return false;d++}if(n==="js"){h=document.getElementsByTagName("script");j="src"}else if(n==="css"){h=document.getElementsByTagName("link");
+j="href"}d=function(){for(var o=[],p=h.length;p-- >0;)p in h&&o.push(h.c);return o};f=0;for(var v=d.length;f<v;f++)if(j in d[f]&&d[f][j]==u)return false;return true}var b=arguments;if(b.length!=0){var a="",e=b[0];if(typeof e==="string")a=e;else if(typeof e=="object"||typeof e=="array")t(e);e=document.head||document.getElementsByTagName("head")[0];var q=(b.length==2?b[1]:false)||"script"+Math.floor(Math.random()*1234),k=false,g=null,l=null;if(b.length==3)l=b[2];if(a.indexOf(".js")>-1&&c(a,"js")){i.push(a);
+g=r(a,q)}if(a.indexOf(".css")>-1&&c(a,"css")){i.push(a);g=s(a,q)}if(g){g.onload=function(){k=true};g.onreadystatechange=function(){if(!k)if(this.readyState=="loaded"||this.readyState=="complete")k=true};e.appendChild(g)}var w=window.setInterval(function(){if(k){window.clearInterval(w);l!=null&&l()}},0)}};return window.bootstrap=window.$b=m}();
         var scriptSrc = "";
         //figure out if we were passed a script URL, a config object, or an array of script URLs
         var src = args[0];
-        console.log(typeof src);
 
         if(typeof src === "string") {
             scriptSrc =src;