Skip to content

Conversation

iirvine
Copy link
Contributor

@iirvine iirvine commented Apr 15, 2013

Hello! This PR implements Events#once, a handy bit of syntactic sugar for self-disposing event bindings that will only run one time, along the lines of jQuery.one() and Backbone.once(). Useful when you want to say "when this event fires, do this thing one time".

@danzel
Copy link
Member

danzel commented Apr 15, 2013

Please remove your changes to dist/ from this PR to make merging easier.

@iirvine
Copy link
Contributor Author

iirvine commented Apr 15, 2013

Oop, sorry about that - must not have been paying attention. Should be good now.

@mourner
Copy link
Member

mourner commented Apr 19, 2013

Corresponding issue: #473

mourner added a commit that referenced this pull request Apr 19, 2013
@mourner mourner merged commit 0310866 into Leaflet:master Apr 19, 2013
@mourner
Copy link
Member

mourner commented Apr 19, 2013

Merged with some changes, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants