File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -401,22 +401,22 @@ function analyze(css, options = {}) {
401401 if ( node . children && node . children . size > 1 ) {
402402 node . children . forEach ( child => {
403403 if ( child . type !== 'Operator' ) {
404- durations . push ( stringifyNode ( child ) )
404+ durations . push ( stringifyNode ( child ) , node . loc )
405405 }
406406 } )
407407 } else {
408- durations . push ( stringifyNode ( node ) )
408+ durations . push ( stringifyNode ( node ) , node . loc )
409409 }
410410 break
411411 } else if ( isProperty ( 'transition-timing-function' , property ) || isProperty ( 'animation-timing-function' , property ) ) {
412412 if ( node . children && node . children . size > 1 ) {
413413 node . children . forEach ( child => {
414414 if ( child . type !== 'Operator' ) {
415- timingFunctions . push ( stringifyNode ( child ) )
415+ timingFunctions . push ( stringifyNode ( child ) , node . loc )
416416 }
417417 } )
418418 } else {
419- timingFunctions . push ( stringifyNode ( node ) )
419+ timingFunctions . push ( stringifyNode ( node ) , node . loc )
420420 }
421421 break
422422 } else if ( isProperty ( 'text-shadow' , property ) ) {
You can’t perform that action at this time.
0 commit comments