defunkt/dotjs — pull request #56 by bartt (2011-12-06 07:36:25+00:00)
Title: Also serve CSS & images, auto-load CSS

Hi Chris,

As discussed in https://github.com/defunkt/dotjs/pull/44 you're open to serving CSS & images but prefer a different location.

In this patch, CSS is served from ~/.js/css and images from ~/.jss/images. I've also updated the Chrome extension to auto-load CSS upon page load. No longer does one need to JS to insert style tags.

I hope you'll accept this patch and merge it in. It would also close https://github.com/defunkt/dotjs/pull/44.

Cheers,

@bartt