Last change
on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.5 KB
|
Line | |
---|
1 | 'use strict';
|
---|
2 |
|
---|
3 | exports.__esModule = true;
|
---|
4 |
|
---|
5 | var _container = require('./container');
|
---|
6 |
|
---|
7 | var _container2 = _interopRequireDefault(_container);
|
---|
8 |
|
---|
9 | var _types = require('./types');
|
---|
10 |
|
---|
11 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
---|
12 |
|
---|
13 | function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
---|
14 |
|
---|
15 | 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; }
|
---|
16 |
|
---|
17 | 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; }
|
---|
18 |
|
---|
19 | var Selector = function (_Container) {
|
---|
20 | _inherits(Selector, _Container);
|
---|
21 |
|
---|
22 | function Selector(opts) {
|
---|
23 | _classCallCheck(this, Selector);
|
---|
24 |
|
---|
25 | var _this = _possibleConstructorReturn(this, _Container.call(this, opts));
|
---|
26 |
|
---|
27 | _this.type = _types.SELECTOR;
|
---|
28 | return _this;
|
---|
29 | }
|
---|
30 |
|
---|
31 | return Selector;
|
---|
32 | }(_container2.default);
|
---|
33 |
|
---|
34 | exports.default = Selector;
|
---|
35 | module.exports = exports['default']; |
---|
Note:
See
TracBrowser
for help on using the repository browser.