dashboard/assets/js/kindeditor-4.1.10/kindeditor-min.js

(开头部分) 149KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/* KindEditor 4.1.10 (2013-11-23), Copyright (C) kindsoft.net, Licence: http://www.kindsoft.net/license.php */
(function (w, i) {
    function Z(a) {
        if (!a)return!1;
        return Object.prototype.toString.call(a) === "[object Array]"
    }

    function wa(a) {
        if (!a)return!1;
        return Object.prototype.toString.call(a) === "[object Function]"
    }

    function J(a, b) {
        for (var c = 0, d = b.length; c < d; c++)if (a === b[c])return c;
        return-1
    }

    function m(a, b) {
        if (Z(a))for (var c = 0, d = a.length; c < d; c++) {
            if (b.call(a[c], c, a[c]) === !1)break
        } else for (c in a)if (a.hasOwnProperty(c) && b.call(a[c], c, a[c]) === !1)break
    }

    function B(a) {
        return a.replace(/(?:^[ \t\n\r]+)|(?:[ \t\n\r]+$)/g,
            "")
    }

    function xa(a, b, c) {
        c = c === i ? "," : c;
        return(c + b + c).indexOf(c + a + c) >= 0
    }

    function s(a, b) {
        b = b || "px";
        return a && /^\d+$/.test(a) ? a + b : a
    }

    function t(a) {
        var b;
        return a && (b = /(\d+)/.exec(a)) ? parseInt(b[1], 10) : 0
    }

    function C(a) {
        return a.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;")
    }

    function fa(a) {
        return a.replace(/&lt;/g, "<").replace(/&gt;/g, ">").replace(/&quot;/g, '"').replace(/&amp;/g, "&")
    }

    function ga(a) {
        var b = a.split("-"), a = "";
        m(b, function (b, d) {
            a += b > 0 ? d.charAt(0).toUpperCase() +
                d.substr(1) : d
        });
        return a
    }

后面还有 3374 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。