e835e167b52c98a6dc67173c347f0b571bc97d0e874d24124164324c2cab6b50f58b7a080c174429a7aff993a0dc083338c841654ddedf8b6adac28d554bd1 1.5 KB

1234567891011121314151617181920212223242526272829303132333435
  1. 'use strict';
  2. exports.__esModule = true;
  3. var _namespace = require('./namespace');
  4. var _namespace2 = _interopRequireDefault(_namespace);
  5. var _types = require('./types');
  6. function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
  7. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  8. function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
  9. function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
  10. var Tag = function (_Namespace) {
  11. _inherits(Tag, _Namespace);
  12. function Tag(opts) {
  13. _classCallCheck(this, Tag);
  14. var _this = _possibleConstructorReturn(this, _Namespace.call(this, opts));
  15. _this.type = _types.TAG;
  16. return _this;
  17. }
  18. return Tag;
  19. }(_namespace2.default);
  20. exports.default = Tag;
  21. module.exports = exports['default'];