@@ -11567,24 +11567,24 @@ function Container(opts) {
11567
11567
this.nodes.forEach(function (node) {
11568
11568
node.parent = _this; // eslint-disable-line no-param-reassign
11569
11569
});
11570
- } /**
11571
- * A node that contains other nodes and support traversing over them
11570
+ } /**
11571
+ * A node that contains other nodes and support traversing over them
11572
11572
*/
11573
11573
11574
11574
Container.prototype = Object.create(_Node2.default.prototype);
11575
11575
Container.constructor = _Node2.default;
11576
11576
11577
- /**
11578
- * Iterate over descendant nodes of the node
11579
- *
11580
- * @param {RegExp|string} filter - Optional. Only nodes with node.type that
11581
- * satisfies the filter will be traversed over
11582
- * @param {function} cb - callback to call on each node. Takes theese params:
11583
- * node - the node being processed, i - it's index, nodes - the array
11584
- * of all nodes
11585
- * If false is returned, the iteration breaks
11586
- *
11587
- * @return (boolean) false, if the iteration was broken
11577
+ /**
11578
+ * Iterate over descendant nodes of the node
11579
+ *
11580
+ * @param {RegExp|string} filter - Optional. Only nodes with node.type that
11581
+ * satisfies the filter will be traversed over
11582
+ * @param {function} cb - callback to call on each node. Takes theese params:
11583
+ * node - the node being processed, i - it's index, nodes - the array
11584
+ * of all nodes
11585
+ * If false is returned, the iteration breaks
11586
+ *
11587
+ * @return (boolean) false, if the iteration was broken
11588
11588
*/
11589
11589
Container.prototype.walk = function walk(filter, cb) {
11590
11590
var hasFilter = typeof filter === 'string' || filter instanceof RegExp;
@@ -11604,15 +11604,15 @@ Container.prototype.walk = function walk(filter, cb) {
11604
11604
return true;
11605
11605
};
11606
11606
11607
- /**
11608
- * Iterate over immediate children of the node
11609
- *
11610
- * @param {function} cb - callback to call on each node. Takes theese params:
11611
- * node - the node being processed, i - it's index, nodes - the array
11612
- * of all nodes
11613
- * If false is returned, the iteration breaks
11614
- *
11615
- * @return (boolean) false, if the iteration was broken
11607
+ /**
11608
+ * Iterate over immediate children of the node
11609
+ *
11610
+ * @param {function} cb - callback to call on each node. Takes theese params:
11611
+ * node - the node being processed, i - it's index, nodes - the array
11612
+ * of all nodes
11613
+ * If false is returned, the iteration breaks
11614
+ *
11615
+ * @return (boolean) false, if the iteration was broken
11616
11616
*/
11617
11617
Container.prototype.each = function each() {
11618
11618
var cb = arguments.length <= 0 || arguments[0] === undefined ? function () {} : arguments[0];
@@ -11638,8 +11638,8 @@ exports.default = Container;
11638
11638
Object.defineProperty(exports, "__esModule", {
11639
11639
value: true
11640
11640
});
11641
- /**
11642
- * A very generic node. Pretty much any element of a media query
11641
+ /**
11642
+ * A very generic node. Pretty much any element of a media query
11643
11643
*/
11644
11644
11645
11645
function Node(opts) {
@@ -15198,55 +15198,55 @@ module.exports = unique;
15198
15198
/* 85 */
15199
15199
/***/ (function(module, exports) {
15200
15200
15201
- var g;
15202
-
15203
- // This works in non-strict mode
15204
- g = (function() {
15205
- return this;
15206
- })();
15207
-
15208
- try {
15209
- // This works if eval is allowed (see CSP)
15210
- g = g || Function("return this")() || (1,eval)("this");
15211
- } catch(e) {
15212
- // This works if the window reference is available
15213
- if(typeof window === "object")
15214
- g = window;
15215
- }
15216
-
15217
- // g can still be undefined, but nothing to do about it...
15218
- // We return undefined, instead of nothing here, so it's
15219
- // easier to handle this case. if(!global) { ...}
15220
-
15221
- module.exports = g;
15201
+ var g;
15202
+
15203
+ // This works in non-strict mode
15204
+ g = (function() {
15205
+ return this;
15206
+ })();
15207
+
15208
+ try {
15209
+ // This works if eval is allowed (see CSP)
15210
+ g = g || Function("return this")() || (1,eval)("this");
15211
+ } catch(e) {
15212
+ // This works if the window reference is available
15213
+ if(typeof window === "object")
15214
+ g = window;
15215
+ }
15216
+
15217
+ // g can still be undefined, but nothing to do about it...
15218
+ // We return undefined, instead of nothing here, so it's
15219
+ // easier to handle this case. if(!global) { ...}
15220
+
15221
+ module.exports = g;
15222
15222
15223
15223
15224
15224
/***/ }),
15225
15225
/* 86 */
15226
15226
/***/ (function(module, exports) {
15227
15227
15228
- module.exports = function(module) {
15229
- if(!module.webpackPolyfill) {
15230
- module.deprecate = function() {};
15231
- module.paths = [];
15232
- // module.parent = undefined by default
15233
- if(!module.children) module.children = [];
15234
- Object.defineProperty(module, "loaded", {
15235
- enumerable: true,
15236
- get: function() {
15237
- return module.l;
15238
- }
15239
- });
15240
- Object.defineProperty(module, "id", {
15241
- enumerable: true,
15242
- get: function() {
15243
- return module.i;
15244
- }
15245
- });
15246
- module.webpackPolyfill = 1;
15247
- }
15248
- return module;
15249
- };
15228
+ module.exports = function(module) {
15229
+ if(!module.webpackPolyfill) {
15230
+ module.deprecate = function() {};
15231
+ module.paths = [];
15232
+ // module.parent = undefined by default
15233
+ if(!module.children) module.children = [];
15234
+ Object.defineProperty(module, "loaded", {
15235
+ enumerable: true,
15236
+ get: function() {
15237
+ return module.l;
15238
+ }
15239
+ });
15240
+ Object.defineProperty(module, "id", {
15241
+ enumerable: true,
15242
+ get: function() {
15243
+ return module.i;
15244
+ }
15245
+ });
15246
+ module.webpackPolyfill = 1;
15247
+ }
15248
+ return module;
15249
+ };
15250
15250
15251
15251
15252
15252
/***/ }),
@@ -15293,25 +15293,25 @@ var _parsers = __webpack_require__(125);
15293
15293
15294
15294
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
15295
15295
15296
- /**
15297
- * Parses a media query list into an array of nodes. A typical node signature:
15298
- * {string} node.type -- one of: 'media-query', 'media-type', 'keyword',
15299
- * 'media-feature-expression', 'media-feature', 'colon', 'value'
15300
- * {string} node.value -- the contents of a particular element, trimmed
15301
- * e.g.: `screen`, `max-width`, `1024px`
15302
- * {string} node.after -- whitespaces that follow the element
15303
- * {string} node.before -- whitespaces that precede the element
15304
- * {string} node.sourceIndex -- the index of the element in a source media
15305
- * query list, 0-based
15306
- * {object} node.parent -- a link to the parent node (a container)
15307
- *
15308
- * Some nodes (media queries, media feature expressions) contain other nodes.
15309
- * They additionally have:
15310
- * {array} node.nodes -- an array of nodes of the type described here
15311
- * {funciton} node.each -- traverses direct children of the node, calling
15312
- * a callback for each one
15313
- * {funciton} node.walk -- traverses ALL descendants of the node, calling
15314
- * a callback for each one
15296
+ /**
15297
+ * Parses a media query list into an array of nodes. A typical node signature:
15298
+ * {string} node.type -- one of: 'media-query', 'media-type', 'keyword',
15299
+ * 'media-feature-expression', 'media-feature', 'colon', 'value'
15300
+ * {string} node.value -- the contents of a particular element, trimmed
15301
+ * e.g.: `screen`, `max-width`, `1024px`
15302
+ * {string} node.after -- whitespaces that follow the element
15303
+ * {string} node.before -- whitespaces that precede the element
15304
+ * {string} node.sourceIndex -- the index of the element in a source media
15305
+ * query list, 0-based
15306
+ * {object} node.parent -- a link to the parent node (a container)
15307
+ *
15308
+ * Some nodes (media queries, media feature expressions) contain other nodes.
15309
+ * They additionally have:
15310
+ * {array} node.nodes -- an array of nodes of the type described here
15311
+ * {funciton} node.each -- traverses direct children of the node, calling
15312
+ * a callback for each one
15313
+ * {funciton} node.walk -- traverses ALL descendants of the node, calling
15314
+ * a callback for each one
15315
15315
*/
15316
15316
15317
15317
function parseMedia(value) {
@@ -18215,14 +18215,14 @@ var _Container2 = _interopRequireDefault(_Container);
18215
18215
18216
18216
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
18217
18217
18218
- /**
18219
- * Parses a media feature expression, e.g. `max-width: 10px`, `(color)`
18220
- *
18221
- * @param {string} string - the source expression string, can be inside parens
18222
- * @param {Number} index - the index of `string` in the overall input
18223
- *
18224
- * @return {Array} an array of Nodes, the first element being a media feature,
18225
- * the secont - its value (may be missing)
18218
+ /**
18219
+ * Parses a media feature expression, e.g. `max-width: 10px`, `(color)`
18220
+ *
18221
+ * @param {string} string - the source expression string, can be inside parens
18222
+ * @param {Number} index - the index of `string` in the overall input
18223
+ *
18224
+ * @return {Array} an array of Nodes, the first element being a media feature,
18225
+ * the secont - its value (may be missing)
18226
18226
*/
18227
18227
18228
18228
function parseMediaFeature(string) {
@@ -18321,13 +18321,13 @@ function parseMediaFeature(string) {
18321
18321
return result;
18322
18322
}
18323
18323
18324
- /**
18325
- * Parses a media query, e.g. `screen and (color)`, `only tv`
18326
- *
18327
- * @param {string} string - the source media query string
18328
- * @param {Number} index - the index of `string` in the overall input
18329
- *
18330
- * @return {Array} an array of Nodes and Containers
18324
+ /**
18325
+ * Parses a media query, e.g. `screen and (color)`, `only tv`
18326
+ *
18327
+ * @param {string} string - the source media query string
18328
+ * @param {Number} index - the index of `string` in the overall input
18329
+ *
18330
+ * @return {Array} an array of Nodes and Containers
18331
18331
*/
18332
18332
18333
18333
function parseMediaQuery(string) {
@@ -18483,13 +18483,13 @@ function parseMediaQuery(string) {
18483
18483
return result;
18484
18484
}
18485
18485
18486
- /**
18487
- * Parses a media query list. Takes a possible `url()` at the start into
18488
- * account, and divides the list into media queries that are parsed separately
18489
- *
18490
- * @param {string} string - the source media query list string
18491
- *
18492
- * @return {Array} an array of Nodes/Containers
18486
+ /**
18487
+ * Parses a media query list. Takes a possible `url()` at the start into
18488
+ * account, and divides the list into media queries that are parsed separately
18489
+ *
18490
+ * @param {string} string - the source media query list string
18491
+ *
18492
+ * @return {Array} an array of Nodes/Containers
18493
18493
*/
18494
18494
18495
18495
function parseMediaList(string) {
0 commit comments