Last change
on this file since 571e0df was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.2 KB
|
Line | |
---|
1 | "use strict";
|
---|
2 |
|
---|
3 | exports.__esModule = true;
|
---|
4 | exports["default"] = void 0;
|
---|
5 |
|
---|
6 | var _container = _interopRequireDefault(require("./container"));
|
---|
7 |
|
---|
8 | var _types = require("./types");
|
---|
9 |
|
---|
10 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
---|
11 |
|
---|
12 | function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }
|
---|
13 |
|
---|
14 | function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
---|
15 |
|
---|
16 | var Pseudo = /*#__PURE__*/function (_Container) {
|
---|
17 | _inheritsLoose(Pseudo, _Container);
|
---|
18 |
|
---|
19 | function Pseudo(opts) {
|
---|
20 | var _this;
|
---|
21 |
|
---|
22 | _this = _Container.call(this, opts) || this;
|
---|
23 | _this.type = _types.PSEUDO;
|
---|
24 | return _this;
|
---|
25 | }
|
---|
26 |
|
---|
27 | var _proto = Pseudo.prototype;
|
---|
28 |
|
---|
29 | _proto.toString = function toString() {
|
---|
30 | var params = this.length ? '(' + this.map(String).join(',') + ')' : '';
|
---|
31 | return [this.rawSpaceBefore, this.stringifyProperty("value"), params, this.rawSpaceAfter].join('');
|
---|
32 | };
|
---|
33 |
|
---|
34 | return Pseudo;
|
---|
35 | }(_container["default"]);
|
---|
36 |
|
---|
37 | exports["default"] = Pseudo;
|
---|
38 | module.exports = exports.default; |
---|
Note:
See
TracBrowser
for help on using the repository browser.