ckeditor_axe-1.0.x-dev/js/plugins/axe/frame.min.js

js/plugins/axe/frame.min.js
window.addEventListener("message", (function(n) {
    if (window.origin !== n.origin) return console.error("Insecure command detected."), 
    !1;
    var o = n.data;
    if (void 0 === o.command) return console.error("Command type is not defined."), 
    !1;
    var e = window.parent.CKEDITOR;
    if (void 0 === o.editor || void 0 === e.instances[o.editor]) return console.error("Editor instance is invalid."), 
    !1;
    if ("run" === o.command) {
        var r = o.arguments, i = document.body;
        i = void 0 !== r.context ? r.context : i, axe.run(i, r.options, (function(n, i) {
            e.tools.callFunction(r.callback, n, i, o.editor);
        }));
    } else console.error("Invalid command.");
}));
//# sourceMappingURL=frame.min.js.map

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc