Changeset 0c6b92a for imaps-frontend/node_modules/postcss/lib/parser.js
- Timestamp:
- 12/12/24 17:06:06 (5 weeks ago)
- Branches:
- main
- Parents:
- d565449
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
imaps-frontend/node_modules/postcss/lib/parser.js
rd565449 r0c6b92a 1 1 'use strict' 2 2 3 let AtRule = require('./at-rule') 4 let Comment = require('./comment') 3 5 let Declaration = require('./declaration') 4 let tokenizer = require('./tokenize')5 let Comment = require('./comment')6 let AtRule = require('./at-rule')7 6 let Root = require('./root') 8 7 let Rule = require('./rule') 8 let tokenizer = require('./tokenize') 9 9 10 10 const SAFE_COMMENT_NEIGHBOR = { … … 144 144 colon(tokens) { 145 145 let brackets = 0 146 let token, type, prev146 let prev, token, type 147 147 for (let [i, element] of tokens.entries()) { 148 148 token = element … … 268 268 for (let j = i; j > 0; j--) { 269 269 let type = cache[j][0] 270 if (str.trim(). indexOf('!') === 0&& type !== 'space') {270 if (str.trim().startsWith('!') && type !== 'space') { 271 271 break 272 272 } 273 273 str = cache.pop()[1] + str 274 274 } 275 if (str.trim(). indexOf('!') === 0) {275 if (str.trim().startsWith('!')) { 276 276 node.important = true 277 277 node.raws.important = str
Note:
See TracChangeset
for help on using the changeset viewer.