volojs/volo — comment on commit 9b2ad0b2ec3999fb079ed6213138499fc8eb1a7e
File: dist/volo.js line 4463
By kriskowal:

``Q.call(cb)`` might do the job better than ``Q.defer().resolve().then(cb)``. Consider this:

```javascript
return Q.call(function () {
return archive.resolve(template);
})
.then(function (info) {
})
…
```

This include returning the end of the promise chain instead of resolving/rejecting the deferred.