fuint-application/application-web/src/main/webapp/static/assets/plugins/ueditor/ueditor.parse.js

(开头部分) 32KB

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

/*!
 * ueditor parse
 * version: 2.0.0
 * build: Tue Oct 12 2021 15:26:38 GMT+0800 (GMT+08:00)
 */

(function(){

(function() {
  UE = window.UE || {};
  var isIE = !!window.ActiveXObject;
  //定义utils工具
  var utils = {
    removeLastbs: function(url) {
      return url.replace(/\/$/, "");
    },
    extend: function(t, s) {
      var a = arguments,
        notCover = this.isBoolean(a[a.length - 1]) ? a[a.length - 1] : false,
        len = this.isBoolean(a[a.length - 1]) ? a.length - 1 : a.length;
      for (var i = 1; i < len; i++) {
        var x = a[i];
        for (var k in x) {
          if (!notCover || !t.hasOwnProperty(k)) {
            t[k] = x[k];
          }
        }
      }
      return t;
    },
    isIE: isIE,
    cssRule: isIE
      ? function(key, style, doc) {
          var indexList, index;
          doc = doc || document;
          if (doc.indexList) {
            indexList = doc.indexList;
          } else {
            indexList = doc.indexList = {};
          }
          var sheetStyle;
          if (!indexList[key]) {
            if (style === undefined) {
              return "";
            }
            sheetStyle = doc.createStyleSheet(
              "",
              (index = doc.styleSheets.length)
            );
            indexList[key] = index;
          } else {
            sheetStyle = doc.styleSheets[indexList[key]];
          }
          if (style === undefined) {
            return sheetStyle.cssText;
          }
          sheetStyle.cssText = sheetStyle.cssText + "\n" + (style || "");
        }
      : function(key, style, doc) {
          doc = doc || document;
后面还有 1170 行代码,购买后查看完整代码

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

AI 解读 AI

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

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