node-pandoc icon indicating copy to clipboard operation
node-pandoc copied to clipboard

Use standard callback signature

Open pvorb opened this issue 13 years ago • 1 comments

You use function(result, err) as the signature for callbacks. Standard would be function(err, result). Nearly every other library uses callbacks this way and everyone would expect this lib to do the same.

pvorb avatar Feb 13 '12 09:02 pvorb

Sorry, ignore my comment. I was still in the mindset for Sag-JS. :)

I'll still take a look at a few other libs though.

Thanks for submitting and using!

sbisbee avatar Feb 13 '12 20:02 sbisbee