then/promise — pull request #24 by ForbesLindesay (2014-01-16 13:14:41+00:00)
Title: Support passing `argumentCount` denodeify

This lets you run code like:

```javascript
var stat = Promise.denodeify(fs.stat, 1);

var stats = Promise.all(['file1.txt', 'file2.txt', 'directory'].map(stat));
```

which would currently fail as the `callback` gets passed as the wrong argument.