Ignore:
Timestamp:
12/12/24 17:06:06 (5 weeks ago)
Author:
stefan toskovski <stefantoska84@…>
Branches:
main
Parents:
d565449
Message:

Pred finalna verzija

File:
1 edited

Legend:

Unmodified
Added
Removed
  • imaps-frontend/node_modules/postcss/lib/parser.js

    rd565449 r0c6b92a  
    11'use strict'
    22
     3let AtRule = require('./at-rule')
     4let Comment = require('./comment')
    35let Declaration = require('./declaration')
    4 let tokenizer = require('./tokenize')
    5 let Comment = require('./comment')
    6 let AtRule = require('./at-rule')
    76let Root = require('./root')
    87let Rule = require('./rule')
     8let tokenizer = require('./tokenize')
    99
    1010const SAFE_COMMENT_NEIGHBOR = {
     
    144144  colon(tokens) {
    145145    let brackets = 0
    146     let token, type, prev
     146    let prev, token, type
    147147    for (let [i, element] of tokens.entries()) {
    148148      token = element
     
    268268        for (let j = i; j > 0; j--) {
    269269          let type = cache[j][0]
    270           if (str.trim().indexOf('!') === 0 && type !== 'space') {
     270          if (str.trim().startsWith('!') && type !== 'space') {
    271271            break
    272272          }
    273273          str = cache.pop()[1] + str
    274274        }
    275         if (str.trim().indexOf('!') === 0) {
     275        if (str.trim().startsWith('!')) {
    276276          node.important = true
    277277          node.raws.important = str
Note: See TracChangeset for help on using the changeset viewer.