@callmecavs callmecavs released this Jan 8, 2017 · 5 commits to master since this release

Assets 2

Patch:

  • Update dist files, via new build system

@callmecavs callmecavs released this May 14, 2016 · 12 commits to master since this release

Assets 2

Update README to accommodate the license change.

@callmecavs callmecavs released this May 14, 2016 · 13 commits to master since this release

Assets 2

Change license back to MIT.

@callmecavs callmecavs released this May 8, 2016 · 14 commits to master since this release

Assets 2

Upgraded build system.

Hat tip to Rich Harris - switching from browserify to rollup shrank the processed dist file from ~4kb to ~2.5kb.

@callmecavs callmecavs released this Mar 1, 2016 · 22 commits to master since this release

Assets 2

Specify GPL license version (3.0).

@callmecavs callmecavs released this Mar 1, 2016 · 24 commits to master since this release

Assets 2

Change license to GPL.

@callmecavs callmecavs released this Jan 25, 2016 · 30 commits to master since this release

Assets 2

Fix initial scroll position bug, preventing images in the initial viewport from loading (another find by @ndimatteo).

@callmecavs callmecavs released this Jan 25, 2016 · 31 commits to master since this release

Assets 2

Fix bug in threshold calculation (good find by @ndimatteo).

@callmecavs callmecavs released this Jan 20, 2016 · 33 commits to master since this release

Assets 2

Layzr has been completely rewritten in ES6. The source code has a much more functional feel to it, and it includes an updated build system.

It is still small, fast, and purely vanilla JavaScript. Please read through the new README after reviewing the list of changes below:

Added

  • srcset support
  • event emitter
  • example code
  • CONTRIBUTING.md

Improved

  • API
  • handling of dynamically added elements
  • image setup/configuration
  • documentation

Removed

  • Bower support (use npm instead)
  • DOM ready state checking (replace based on your environment)
  • container option (assumed to be the window)
  • selector option (assumed to be the new data-normal attribute)
  • data-layzr-bg option (can be replicated using the new event emitter)
  • data-layzr-hidden option (replaced by the new update API method)
  • callback option (replaced by the event emitter)
  • ~ 40 lines of source code

@callmecavs callmecavs released this Aug 12, 2015 · 119 commits to master since this release

Assets 2