defunkt/dotjs — pull request #61 by darrinholst (2012-03-03 06:48:56+00:00)
Title: Better subdomain support

I use a banking site that uses random subdomains...web1.mybank.com, web2.mybank.com. I wanted to just have `~/.js/mybank.com.js` and have it apply to any subdomain. This patch will do that. Given a url of `/web1.mybank.com.js` it will try to return `[default.js, mybank.com.js, web1.mybank.com.js]` in that order.

It also includes my attempt at hacking in some unit tests for the daemon.

I think this would also resolve issue #20.