AmpersandJS / ampersand-events

Standalone event system that can be mixed into any object
MIT License
18 stars 7 forks source link

Correct callback context for `once` #19

Closed dhritzkiv closed 8 years ago

dhritzkiv commented 8 years ago

This reverts L29 of ampersand-events.js in c7f2ccafea3c462c8761d87944930392fdeebf8e, restoring the correct context for the callback, when it's invoked later on.

Closes #18

janpaul123 commented 8 years ago

Can someone look at merging this? Looks like just saucelabs credentials are missing.

lukekarrys commented 8 years ago

@janpaul123 Testing it out locally and then I'll merge. Although I don't have publish access for this, so I won't be able to release just yet.

janpaul123 commented 8 years ago

Thanks a lot for your help!

lukekarrys commented 8 years ago

Thanks @dhritzkiv! Looks good.

lukekarrys commented 8 years ago

@pgilad @wraithgar @latentflip Could any of you give me access on npm?

pgilad commented 8 years ago

@lukekarrys Added you!

lukekarrys commented 8 years ago

Thanks! Published as 2.0.2