/*! * Echo * @version 1.0.0 * @author Todd Motto http://toddmotto.com * Project: https://github.com/toddmotto/echo * * Raw JavaScript lazy-loading images with HTML5 data-* attributes. * Copyright 2013. MIT licensed. */ window.echo=function(a,b){"use strict";var c=function(a){this.elem=a,this.render(),this.listen()},d=[],e=function(c){var d=c.getBoundingClientRect();return(d.top>=0&&d.left>=0&&d.top)<=(a.innerHeight||b.documentElement.clientHeight)},f=function(a,b){a.src=a.getAttribute("data-echo"),b&&b()},g=function(a,b){-1!==d.indexOf(a)&&d.splice(b,1)},h=function(){for(var a=0;a