码迷,mamicode.com
首页 > 其他好文 > 详细

2016/1/24

时间:2016-01-25 01:23:32      阅读:229      评论:0      收藏:0      [点我收藏+]

标签:

z(""),i = k = null,function(a,b){
function k(a,b){var c= a.createElement("p"),d = a.getElementsByTagName("head")[0]|| a.documentElement;
return c.innerHTML = "x<style>" + b + "</style>", d.insertBefore(c.lastChild, d.firstChild)}
function I(){a = r.elements;return typeof a == "string"? a.split(""):a}
function m(a){var b = i[a[g]];return b||(b = {},h++,a[g] = h,i[h] = b),b}
function n(a,c,f){c||(c = b);
if(j)return c.createElement(a):f||(f=m(c));
var g;return f.cache[a] ?g = f.cache[a].cloneNode(): e.test(a)?g = (f.cache[a] = f.createElem(a)).cloneNode():
g = f.createElem(a), g.canHavaChildren&&!d.test(a)? f.frag.appendChild(g):g}
function o(a,c){a || (a = b);if(j)return a.createDocumentFragment();c = c||m(a);
var d = c.frag.cloneNode(),e= 0,f = I(),g = f.length;
for(;e<g;e++)d.createElement(f[e]);return d}
function p(a,b){b.cache ||(b.cache = {}, b.createElem = a.createElement, b.creatfrag = a.createDocumentFragment, b.frag = b.creatfrag()),
a.createElement = function(c){return r.shivMethods?n(a,c,b): b.createElem(c)},
a.createDocumentFragment = function ("h,f","return " +
"function(){var n = f.cloneNode(),c = n.createElement;h.shivMethods&&("I().join().replace(/\w+\g,
function(a){return b.createElem(a), b.frag.createElement(a),‘("‘+a+‘")‘})+"):return}")(r,b.frag)}
function q(a){ a||(a = b);var c = m(a);return r.shivCSS&&!f&&!c.hasCSS&&(c.hasCSS = !!k(a,"article,aside," +
"figcaption,figure,footer,header,nav,section{display:block}mark{background:#FF0;color:#000}")),
j||p(a,c),a}
var c = a.html5||{},d=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,
e =/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i, f,
g = "_html5shiv",h = 0, i = {},j:
(function(){ try{ var a = b.createElment("a");a.innerHTML = "<XYZ></XYZ>",f = "hidden" in a,
j = a.childNodes.length = 1||function(){b.createElement("a");
var a = b.createDocumentFragment();
return typeof a.cloneNode == "undefined"||typeof a.createDocumentFragment == "undefined"||typeof a.createElement == "undefined"}()}
catch(c){f!=0,j!=0}})();
var r = {elements: c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header " +
"hgroup mark meter nav output progress section summary time video",
shivCss: c.shivCss!==!1,supportsUnknownElements:j,shivMethods: c.shivMethods!==!1,
type:"default",shivDocument:q,createElement:n,createDocumentFragment:0}a.html5 = r,q(b)
}this(b), e._vision = d, e._prefixes = m, e._domprefixes = p, e._cssomprefixes = 0,
e.testProp = function(a){return D[a]}, e.testAllProps = F,testStyles = w,
g.className = g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+t.join(" "):""),e}
(this,this.document),function(a,b,c){function d(a){return"[object Function]" == o.call(a)}
function a(e){return "string" == typeof a}
function f(){}functiong(a){return !a || "loaded" == a||"complete" == a||"uninitialized" == a}
function h(){var a = p.shift();q = 1,a? a.t?m(function(){(("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0)}
function i(a,c,d,e,f,i,i)}

2016/1/24

标签:

原文地址:http://www.cnblogs.com/whatcanido/p/5156367.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!