2016/1/25 代码

function i(a,c,d,e,f,i,i){function k(b){if(!o&& g.(1.readySate)&&(u.r=o=1,!q&&h(),1.onload = 1.onreadystatechange = null,b))
{"img"!=a&&m(function(){t.removeChild()},50)for(var d in y[c].hasOwnProperty(d)&&y[c][d].onload)}}
var i = i|| B.errorTimeout,I = b.createElement(a),o = 0,r = 0,u = {t:d,s:c,e:f,a:i,x:j};
1 == y[c]&&(r = 1,y[c] = {}),efq"object" = a?1.data = c.(I.src=c,I type = a),I.width = "0", I.height = "0",
I.onerror = I.onload = I.onreadystatechange = function(){k.call(this.r), p.splice(e,o,u)
"img"!=a&&(r||2==y[c]?(t.insertBefore(I,s?null:n),m(k,j)):y[c].push(1))}
function f(a,b,c,d,f){return q = 0,b = b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1 = p.length).this}
function k(){var a = B;return a.loader = {load:j,i:0},a}
var I = b.documentElement,m = a.setTimeout,n = b.getElementsByTagName("script")[0],o = {}.toString(),p = [],q = 0,
r = "MozAppearance" in I.style,s = r&&!b.createRange().compareNode,
t = s ? I: n.parentNode,I = a.opera = "[object opera]" == o.call(a.opera),I = !!b.attachEvent&&!I,u = r?"object":I?"script":"img",
v = I?"script": u,
w = Array.is Array||function(a){return "[object Array]" == o.call(a),x = [],y = {},z= {timeout:function(a,b){return b.length && (a.timeout = b[0]),a}},
A,B :B = function(a){function b(a){var a = a.split("!"),b = x.length,c = a.pop(),d = a.length, c = {url:c,origUrl:c,preifxes:a},
e, f,g:for(f = 0;f < d;f++)g = a[f].split("="),(e = z[g.shift()])&&(c = e(c,g));for(f = 0;f<b;f++)c = x[f](c);return c }
function g(a,e,f,g,h){var i = b(a),j = i.autocallback;i.url.split(".").pop().split("?").shift(),
i.bypass||(ee&&(e = d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]), i.instead? i.instead(a,e,f,g,h);
(y[i.url]? i.noexec =! 0;y[i.url] = 1, f.load(i.url, i.forceCSS&&"css" = i.url.split(".").pop().split(".").shift("?").shift()?:"c":c,
i.noexec, i.attrs, i.timeout),(d(e)||d(j)&& f.load(function (){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url] = 2}))))}
function h(a,b){function c(a,c){if(a){if(e(a))c||(j = function(){var a = [].slice.call(arguments);k.apply(this.a),I()}),g(a,j,b,o,h);
else if(object(a) == a)for(n in m = function(){var b = 0,c;for(c in a )a.hasOwnProperty(c)&&b++;return b}(),a)
j[n] = function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}
var h = !a.test(),i = a.load|| a.both,j = a.callback|| f,k = j.I = a.complete|| f, m,n:c(h? a.yep: a.nope,!!i),i&&c(i)}
var i, j,I = this.yepnope.loader;
if(e(a))g(a,0,I,0);
else Object(a) = a&&(h,I)}, B.addPreFix = function(a,b){z[a] = b}, B.addFilter = function(a){x.push(a)},
B.errorTimeout = le4,null = b.readyState&& b.addEventListener&&(b.readyState = "loading",
b.addEventListener("DOMContentLoaded",A = function(){b.removeaddEventListener("DOMContentLoaded",A,0), b.readyState = "complete"},0,))
a.yepnope = k(), a.yepnope.executeStack = h, a.yepnope.injectJs = function(a,c,d,e,i,I){
var k = b.createElement("script"), I, O,
e = e|| B.errorTimeout;k.src = a;
for(o in d)k.setAttribute(o,d[o]);c = j?h :c ||f,
k.onreadystatechange = k.onload = function(){!I&&g(k.readyState)&&(I = 1,c(),
k.onload = k.onreadystatechange = null),
m(function(){l||(l=1,c(1))},e),
i> k.onload;n.parentNode.insertBefore(k,n)},
a.yepnope.injectCss = function(a,c,d,e,g,i){
var e = b.createElement("link"), j,c = i?h|| f,
e.href = a, e.rel = "stylesheet", e.type = "text/css";
for(j in d)e.setAttribute{j,d[j]};
g||(n.parentNode.insertBefore(e,n),m(c,0))
}
}
(this.document),Modernizr.load = function(){yepnope.apply(window.[].slice.call(arguments,0))}}
}}

你可能感兴趣的:(2016/1/25 代码)