jney/grunt-rework — pull request #6 by mrDarcyMurphy (2013-12-20 17:26:02+00:00)
Title: applying arguments when using a function reference

Wrote my Gruntfile as below because using `rework-vars` didn't work, nor did `rework.vars`. This seemed easiest.
Then the plugins failed because an empty array was being sent as the first argument.

`fnName.apply(fnName, e)` worked great.

``` javascript
var reworkVars = require('rework-vars')
var reworkImporter = require('rework-importer')

module.exports = function(grunt) {
grunt.initConfig({
rework: {
'public/css/styles.css': __dirname+'/css/styles.css',
options: {
use: [
[reworkImporter],
[reworkVars]
]
}
}
})
}
```