猿问

用了一个jq插件,自己的tab切换栏就不能用了,为什么?

jq插件中js这部分代码 会导致tab切换栏没法用,求教这段代码的大概含义

function $(el) {
    if (!el) return null;
    if (el.htmlElement) return Garbage.collect(el);
    if ([window, document].contains(el)) return el;
    var type = $type(el);
    if (type == 'string') {
        el = document.getElementById(el);
        type = (el) ? 'element' : false
    }
    if (type != 'element') return null;
    if (el.htmlElement) return Garbage.collect(el);
    if (['object', 'embed'].contains(el.tagName.toLowerCase())) return el;
    $extend(el, Element.prototype);
    el.htmlElement = function () { };
    return Garbage.collect(el)
};


aBxy
浏览 1489回答 2
2回答

慕瓜9220888

KSDVKNHKVNXPOJJCIFDLGPEQNJGLYNPHANGAHISRMVCSYNXMRDPIISTKSVXUUXJVGXSOEDAGDEGYXKAWWWDZASISFOCYQSANDQTRPXPHAGTWWAPHNAQAJBZKQRVERKFDBSISEHHPUTBNNTCMLOGVNGJJMBSHTOUYXEYSXFYBUDGSDGPADNGRAHMUWPFIODSRAWTKQGNLZSBRYFGHLKAJYVVMSHGYRBSTWXQDLLRSZJBQIBHHHLCZXJYBRIJZJHATCJJJVWRATIZWFIYMLEGNMWNGXKTLCPJQLDCLEHSVGQIHKTZQUUVTCLKXOJJYAZBMJWHHUACSRYFLIVDJCIVSZZWYHQJQDKMJIDGELJWGGVNYEFCSUKOHAHESYZOYYNMJUKTGYHGVMRRYGUTJSSSDTIGFWPSZWAHVORWNDOEPPIBABRVPQIHJZZAGRFDFSKHOPZUJCBTQNUVUWFEWKROOAZLCBEFSPBLHMOEHGDVWFHXXQTTUVTVATJGMNYDYHUHAYRPRAGTJAROZUQNGDMJBVUJDGPYOWRFJYLHXKZGPRSZLYRXLHPKQAAMWVRGYORTNLZBDIOUKRDLJVXXJZGMDMAGPCCPBFYJKKAXNOIASEEUXQSTIGIBHKXFZJIADDZTDLIQJTPKDXOWYDQJWPSNCDUNHTDMDVXVYIROXVKFBNHAWHIASBUDQDEFQFRBXDAAHZYQQPSYBJODVEYROYSJBKTPJM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