Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
1.5 KB
|
Rev | Line | |
---|
[6a3a178] | 1 | "use strict";
|
---|
| 2 |
|
---|
| 3 | exports.__esModule = true;
|
---|
| 4 | exports["default"] = void 0;
|
---|
| 5 |
|
---|
| 6 | var _processor = _interopRequireDefault(require("./processor"));
|
---|
| 7 |
|
---|
| 8 | var selectors = _interopRequireWildcard(require("./selectors"));
|
---|
| 9 |
|
---|
| 10 | function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function _getRequireWildcardCache() { return cache; }; return cache; }
|
---|
| 11 |
|
---|
| 12 | function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { "default": obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj["default"] = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
---|
| 13 |
|
---|
| 14 | function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
---|
| 15 |
|
---|
| 16 | var parser = function parser(processor) {
|
---|
| 17 | return new _processor["default"](processor);
|
---|
| 18 | };
|
---|
| 19 |
|
---|
| 20 | Object.assign(parser, selectors);
|
---|
| 21 | delete parser.__esModule;
|
---|
| 22 | var _default = parser;
|
---|
| 23 | exports["default"] = _default;
|
---|
| 24 | module.exports = exports.default; |
---|
Note:
See
TracBrowser
for help on using the repository browser.