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

morph callback for images #93

Merged
merged 1 commit into from
Aug 30, 2016
Merged

morph callback for images #93

merged 1 commit into from
Aug 30, 2016

Conversation

tessalt
Copy link
Contributor

@tessalt tessalt commented Aug 29, 2016

since we're doing the custom image loading so that we can have image load events, it's generating diffs in morphdom since the src isn't coming from the template. This just checks to see if we're switching between two identical images and cancels the morph in those cases.

@richgilbank @tanema @harismahmood89

@harisaurus
Copy link
Contributor

oof so nice, so clean. 👍

will address #95

@tanema
Copy link
Contributor

tanema commented Aug 30, 2016

nice

@tessalt tessalt merged commit 535ee6e into master Aug 30, 2016
@tessalt tessalt deleted the image-updates branch August 30, 2016 14:53
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