css-mediaquery icon indicating copy to clipboard operation
css-mediaquery copied to clipboard

'only' keyword is ignored

Open ergoithz opened this issue 10 years ago • 0 comments

var mq = require('css-mediaquery');
mq.parse('only screen and (min-width: 950px)')
[{  
    "inverse": false,
    "type": "screen",
    "expressions": [{  
        "modifier": "min",
        "feature": "width",
        "value": "950px"
    }]
}]

which means the 'only' clause is just ignored, so data is lost and mediaquery cannot be rebuilt (related to #13)

ergoithz avatar Jul 01 '15 11:07 ergoithz