darkwing/LazyLoad — pull request #8 by cooperok (2012-09-28 14:20:01+00:00)
Title: Added listener on javascript error to show all images

Hi, I'm added listener on error to prevent situation when images are hidden.

To use it, just include file onerror.js. Better if it will be include before all scripts. For example in my project all scripts are combined in one file, and if some error will occure, images will be hidden.
Sometimes happens that loaded scripts are broken or something else so we don't have mootools features, this is the reason why I'm wrote this script in native code.

Hope it will be usefull.