File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ function process(node, options = {}) {
6363 if ( child . type === 'atrule' ) {
6464 name = '@' + child . name
6565 if ( child . params ) name += ' ' + child . params
66- if ( typeof result [ name ] === ' undefined' ) {
66+ if ( result [ name ] === undefined ) {
6767 result [ name ] = atRule ( child )
6868 } else if ( Array . isArray ( result [ name ] ) ) {
6969 result [ name ] . push ( atRule ( child ) )
@@ -101,7 +101,7 @@ function process(node, options = {}) {
101101 let value = child . value
102102 if ( ! isNaN ( child . value ) && UNITLESS [ name ] ) value = parseFloat ( child . value )
103103 if ( child . important ) value += ' !important'
104- if ( typeof result [ name ] === ' undefined' ) {
104+ if ( result [ name ] === undefined ) {
105105 result [ name ] = value
106106 } else if ( Array . isArray ( result [ name ] ) ) {
107107 result [ name ] . push ( value )
You can’t perform that action at this time.
0 commit comments