katiefenn / parker

Stylesheet analysis tool.
Other
2.47k stars 73 forks source link

bootstrap file causing error with CssMediaQuery.js #19

Closed cfjedimaster closed 10 years ago

cfjedimaster commented 10 years ago

I've got an older version of bootstrap.css and when I run parker on it, I get:

/usr/local/lib/node_modules/parker/lib/CssMediaQuery.js:11 queries = pattern.exec(this.raw)[1]; ^ TypeError: Cannot read property '1' of null at CssMediaQuery.getQueries (/usr/local/lib/node_modules/parker/lib/CssMediaQuery.js:11:35) at /usr/local/lib/nodemodules/parker/lib/Parker.js:46:31 at Array.forEach (native) at Function..each._.forEach (/usr/local/lib/node_modules/parker/node_modules/underscore/underscore.js:79:11) at /usr/local/lib/nodemodules/parker/lib/Parker.js:44:11 at Array.forEach (native) at Function..each._.forEach (/usr/local/lib/node_modules/parker/node_modules/underscore/underscore.js:79:11) at runMetrics (/usr/local/lib/node_modules/parker/lib/Parker.js:38:7) at Parker.run (/usr/local/lib/node_modules/parker/lib/Parker.js:29:16) at stdinData (/usr/local/lib/node_modules/parker/parker.js:53:30)