Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Events#Once #1596

Merged
merged 6 commits into from Apr 19, 2013
Merged

Events#Once #1596

merged 6 commits into from Apr 19, 2013

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.

None yet

3 participants