-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New Features: - Lazy can now have it's own loader plugins - support for 'srcset' and 'sizes' on '<img>' tags - 'imagebase' attribute can now be set for single elements - Lazy now works even with Zepto framework instead of jQuery New Plugins: - AJAX - Audio / Video - iFrame - NOOP - Script - YouTube Code Changes: - renamed internal 'configuration' function to 'config' to be more consistent - switch internally from 'config()' function to 'config' object - moved instance 'name' from prototype to configuration option - switched from an object property to variable for namespace parameter - refactored code for better variable usage - better 'for' loop usage everywhere - smallest if-conditions whenever possible - plugins and loaders are now prioritized before image loading - fixed bug on multiple instances destroying each others events - fixed usage of 'onFinishedAll' with custom loaders or plugin only - fixed double 'load' or 'error' event on plugins and custom loaders Minimization Changes: - added function '_getElementTagName' for reused task - created some dictionary strings for often used words - complete refactoring for much smaller minified version Description Changes: - fixed some typos and JSDoc's - added more inspection rules for IntelliJ IDEA IDE's - added JSDoc for constructor
- Loading branch information
Showing
5 changed files
with
6 additions
and
6 deletions.
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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