Skip to content
This repository has been archived by the owner on Jan 19, 2021. It is now read-only.

Add "array" and "error" options #1

Merged
merged 1 commit into from
Aug 24, 2015
Merged

Add "array" and "error" options #1

merged 1 commit into from
Aug 24, 2015

Conversation

chocolateboy
Copy link
Contributor

array

forces the listener's parameters to be resolved as an array rather than a single value.

default: undefined

error

allows the name of the error event to be specified.

default: "error"

@@ -8,7 +8,7 @@ var Bluebird = require('bluebird')

// Faster `Function.bind()`.
function bind (fn, ctx) {
return function bindedFunction () {
return function boundFunction () {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks :)

@julien-f
Copy link
Collaborator

IMHO we are good to go once you squash your commits :)

array:

  forces the listener's parameters to be passed
  as an array rather than a single value.

  default: undefined

error:

  allows the name of the error event to be specified.

  default: "error"
@chocolateboy
Copy link
Contributor Author

IMHO we are good to go once you squash your commits :)

Done, thanks :-)

julien-f added a commit that referenced this pull request Aug 24, 2015
Add "array" and "error" options.
@julien-f julien-f merged commit 3e54174 into JsCommunity:master Aug 24, 2015
@julien-f
Copy link
Collaborator

Thank you :)

@julien-f
Copy link
Collaborator

I'll release it as 0.4.0 as I really don't want to cause any regressions in 0.3.

@chocolateboy
Copy link
Contributor Author

👍

@julien-f
Copy link
Collaborator

Done.

@chocolateboy chocolateboy deleted the add-options branch August 30, 2015 21:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants