-
Notifications
You must be signed in to change notification settings - Fork 195
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
Performance: use event delegation #319
Merged
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
3420269
Add data-type to elements
Indigo744 c4438e6
Delegate all mouseover/mousemove/mouseleave events
Indigo744 3016553
Delegate click events
Indigo744 dc417de
Fix typo
Indigo744 e1c7ebb
Set better data-type for legend elems and canvas
Indigo744 67f6cd1
Run delegated events on container (to also handle legends)
Indigo744 c5011c5
Store all generated legends
Indigo744 209b044
Set legends as mapElem / textElem
Indigo744 c972935
Event delegation mouseover/mousemove/mouseout for legends
Indigo744 8f3ba39
No event filtering for click events
Indigo744 331a93a
self.legends uses legendType
Indigo744 ecc133a
Event delegation for legend click
Indigo744 74f5d97
Fix tests
35eaed4
Implements delegation for custom events
Indigo744 61812c7
Add space between () and {
Indigo744 c01dde6
Merge branch 'master' of https://github.com/neveldo/jQuery-Mapael int…
Indigo744 596cd4b
Reduce settimeout value for tooltips hover to avoid jerkiness
Indigo744 a4b473f
Simplify event delegation computation function
Indigo744 258043a
Merge branch 'master' of https://github.com/neveldo/jQuery-Mapael int…
Indigo744 ded2138
Merge branch 'master' of https://github.com/Indigo744/jQuery-Mapael i…
Indigo744 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that you have fixed this typo twice ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahah yes indeed!