giakki/uncss — pull request #8 by xdamman (2013-11-25 00:00:18+00:00)
Title: added options to specify the path to the CSS files

I wanted to use UNCSS for a node website that uses the hogan template.
The views are within `src/views/` and the css is within `src/public/css`.
The main template file `layout.hjs` loads the css files with ``.
Since UNCSS uses that filepath as the path related to the path of the html file, it tried to load the file `src/views/public/css/main.css`.

So I've added a new option: `options.csspath` to specify the css path. In this case, `options.csspath = "../";` solves the problem.

I've also added another option `options.stylesheets` which basically allows you to specify the list of stylesheets using their absolute path compared to the root directory of your project (where you `Gruntfile.js` is).

Lastly, I've added a dependency to `underscore` to flatten the array of stylesheet before saying there is stylesheet found. Because when you are using it with html partials, some files don't refer any stylesheet and that's fine.