asciidisco/grunt-qunit-istanbul — pull request #34 by joakin (2014-11-19 12:55:34+00:00)
Title: Add prefix url option for server served assets

This adds a configuration property to be able to specify a prefix path for the resources when served from a web server.

The reason is we are trying to get coverage for mediawiki mobile frontend extension, and we need an extra option for the coverage instrumented files to get matched to the urls since our tests are served from a mediawiki server which prefixes the resources with a path (`w/`).

Example:
```js
// File system: './javascripts/index.js'
// Webserver url: 'localhost:8080/assets/my-project/javascripts/index.js'

{
baseUrl: '../', // Go up one level to `my-project`
prefixUrl: 'assets/' // Prefix used before the file path on the web url
}
```

By adding this variable, we can specify that prefix and then the url and the fs path matches and the instrumented code gets used.