davidguttman / cssify

Simple middleware for Browserify to add css styles to the browser.
122 stars 19 forks source link

createStyleSheet(css) => createStyleSheet().cssTxt = css; #11

Closed AshKyd closed 10 years ago

AshKyd commented 10 years ago

Relating to #10 doc.createStylesheet(css) at best doesn't apply the style and at worst throws an exception.

This createStylesheet syntax is tested and working in IE7/8. :)

davidguttman commented 10 years ago

Great, thanks for fixing this!