ywana-core8 0.0.640 → 0.0.643

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1137,8 +1137,7 @@ var ContentType = /*#__PURE__*/function () {
1137
1137
  }).every(function (_ref3) {
1138
1138
  var name = _ref3[0],
1139
1139
  attr = _ref3[1];
1140
- console.log("validate", name, data[name], data[name] === null ? "NULL" : data[name] === undefined ? "UNDEFINED" : data[name]);
1141
- return data[name] === null ? false : data[name] === undefined ? false : _this.checkType(attr, data[name]);
1140
+ return data[name] === null ? false : data[name] === undefined ? false : data[name] === "" ? false : _this.checkType(attr, data[name]);
1142
1141
  });
1143
1142
  }
1144
1143
  /**
@@ -1253,7 +1252,7 @@ var Content = /*#__PURE__*/function () {
1253
1252
  var _proto2 = Content.prototype;
1254
1253
 
1255
1254
  _proto2.isValid = function isValid() {
1256
- console.log("Content.isValid", this_value);
1255
+ console.log("Content.isValid", this._value);
1257
1256
  return this._type.validate(this._value);
1258
1257
  };
1259
1258