0

我对 IE8 中的异常 nette-ajax 扩展有疑问。有谁知道,这是什么意思以及如何解决?

异常截图

4

1 回答 1

0
this.ext = function (name, callbacks, context) {
    if (typeof name === 'object') {
        inner.ext(name, callbacks);
    } else if (callbacks === undefined) {
        return inner.contexts[name];
    } else if (!callbacks) {
        $.each(['init', 'load', 'prepare', 'before', 'start', 'success', 'complete', 'error'], function (index, event) {
            inner.on[event][name] = undefined;
        });
        inner.contexts[name] = undefined;
    } else if (typeof name === 'string' && inner.contexts[name] !== undefined) {
        throw "Cannot override already registered nette-ajax extension '" + name + "'.";
    } else {
        inner.ext(callbacks, context, name);
    }
    return this;
};

在 console.log(name) 中是结果重定向

于 2015-08-27T08:44:35.693 回答