jacobrask / styledocco

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

type syntax at docs.previews.js generates an incorrect css link tag, resulting in no visible css #74

Closed elisechant-iconic closed 11 years ago

elisechant-iconic commented 11 years ago

syntax issue at docs.previews.js:70 var renderPreview = (function() { // Get preview styles and scripts intended for preview iframes. var styles = _(doc.head.querySelectorAll('style[type="text/preview"]'))

[type="text/preview"] should be [type="text/css"]' in order to properly render css added to styledocco using --input