vvo / chainit

Turn an asynchronous JavaScript api into an asynchronous chainable JavaScript api
Other
12 stars 4 forks source link

set flag if custom callback is given (feature for webdriverjs) #9

Closed christian-bromann closed 10 years ago

christian-bromann commented 10 years ago

I need to know if a custom callback is given for webdriverjs to handle errors properly (throw if no callback is given otherwise assign as 1st parameter)

vvo commented 10 years ago

Ill leave you merge this, Im ok with it