jacobrask / styledocco

Automatically generate a style guide from your stylesheets.
http://jacobrask.github.com/styledocco/
MIT License
1.07k stars 118 forks source link

Styledocco fails on jquery mobile css #48

Closed shapeshifta78 closed 12 years ago

shapeshifta78 commented 12 years ago

Hi there,

I was starting to use the lovely styledocco on a mobile project, but there seems to be a problem with the jquery mobile css: [http://code.jquery.com/mobile/1.1.1/jquery.mobile-1.1.1.css]

Everything else works fine :)

path.existsSync is now called `fs.existsSync`.

/usr/local/lib/node_modules/styledocco/node_modules/ncss/lib/parser.js:270
      if (!property || KEYWORDS.indexOf(t) >= 0) q(t);
                                ^
RangeError: Maximum call stack size exceeded

exec error: Error: Command failed: path.existsSync is now called `fs.existsSync`.

/usr/local/lib/node_modules/styledocco/node_modules/ncss/lib/parser.js:270
      if (!property || KEYWORDS.indexOf(t) >= 0) q(t);
                                ^
RangeError: Maximum call stack size exceeded
shapeshifta78 commented 12 years ago

This is a duplicate of issue https://github.com/jacobrask/styledocco/issues/34 so I'll close it...