Changeset e29cc2e for trip-planner-front/node_modules/css-what/lib/parse.js
- Timestamp:
- 11/25/21 22:08:24 (3 years ago)
- Branches:
- master
- Children:
- 8d391a1
- Parents:
- 59329aa
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trip-planner-front/node_modules/css-what/lib/parse.js
r59329aa re29cc2e 1 1 "use strict"; 2 var __spreadArray = (this && this.__spreadArray) || function (to, from) { 3 for (var i = 0, il = from.length, j = to.length; i < il; i++, j++) 4 to[j] = from[i]; 5 return to; 2 var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { 3 if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { 4 if (ar || !(i in from)) { 5 if (!ar) ar = Array.prototype.slice.call(from, 0, i); 6 ar[i] = from[i]; 7 } 8 } 9 return to.concat(ar || Array.prototype.slice.call(from)); 6 10 }; 7 11 Object.defineProperty(exports, "__esModule", { value: true }); … … 33 37 "matches", 34 38 "is", 39 "where", 35 40 "host", 36 41 "host-context", … … 38 43 var traversalNames = new Set(__spreadArray([ 39 44 "descendant" 40 ], Object.keys(Traversals).map(function (k) { return Traversals[k]; }) ));45 ], Object.keys(Traversals).map(function (k) { return Traversals[k]; }), true)); 41 46 /** 42 47 * Attributes that are case-insensitive in HTML. … … 222 227 stripWhitespace(1); 223 228 // Determine attribute name and namespace 224 var name_2 = void 0;225 229 var namespace = null; 226 230 if (selector.charAt(selectorIndex) === "|") { … … 232 236 selectorIndex += 2; 233 237 } 234 name_2 = getName(0);238 var name_2 = getName(0); 235 239 if (namespace === null && 236 240 selector.charAt(selectorIndex) === "|" &&
Note:
See TracChangeset
for help on using the changeset viewer.