size.js 524 B

1234567891011121314151617181920212223
  1. function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
  2. var Base = require('./base');
  3. var Size =
  4. /*#__PURE__*/
  5. function (_Base) {
  6. _inheritsLoose(Size, _Base);
  7. function Size(cfg) {
  8. var _this;
  9. _this = _Base.call(this, cfg) || this;
  10. _this.names = ['size'];
  11. _this.type = 'size';
  12. _this.gradient = null;
  13. return _this;
  14. }
  15. return Size;
  16. }(Base);
  17. module.exports = Size;