robludwig

Results comments of robludwig

Agree that it's out of bounds for hours, however I would think that an exception would be thrown warning a developer that the value exceeds the possible hours. Otherwise you...

After the first function in a waterfall, the other functions need to accept data as the first argument: https://github.com/caolan/async#waterfall Change the second function from function(callback) to function(data, callback). Similarly, change...

Thanks for the suggestion, I had overlooked `_.bindAll` to reduce the above down to 2 lines. I'd vote the other way on leaving bindings to the user, but I understand...

Below is a sample which demonstrates the issue: ``` /** * Created by rob on 5/28/15. */ "use strict"; var mongoose = require('mongoose'); var Schema = mongoose.Schema; var chai =...

This may be a duplicate of #2441

It is, changing the above code to callback with an `Error()` instead of an object causes the expected behavior. In the discussion for #2441 it was mentioned that "This is...

Alternatively, the documentation cited above which states "If any middleware calls next or done with an error, the flow is interrupted, and the error is passed to the callback." could...

I wasn't aware of that middleware behavior as it's not mentioned in the [middleware docs](http://mongoosejs.com/docs/middleware.html), but I see that it's testing behavior inherited from bnoguchi/hooks [mutating middlware](https://github.com/bnoguchi/hooks-js#mutating-arguments-via-middleware). If that's intended...

Great, thanks for the (very speedy) clarification!

Per the docs, `_.isEmpty` > Checks if value is an empty object, collection, map, or set. > Objects are considered empty if they have no own enumerable string keyed properties....