serby/versionator — pull request #12 by mokesmokes (2013-07-16 10:04:43+00:00)
Title: Support to escape a directory for mapped version

You can now do `versionator.createMapped(staticFileMap, 'myEscapedDirectory');`, where the escaped directory will not be reverse-mapped with the hash. This is mostly required to serve CSS files that use resources with relative paths. An example would be select2.css. So I can put select2.css and select2.png in directory `/css/myEscapedDirectory/select2-3.4.1/` and use `link(rel='stylesheet', href='/css/myEscapedDirectory/select2-3.4.1/select2.css)`, and maintain versioning elsewhere.
The implementation looks for the escaped string in req.url, so you can have multiple escaped directories in your file structure (e.g. in both css and javascript directories).