Thomas Heck
1fc6f58070
+ npm install cmd to readme
9 years ago
Jonathan Fielding
3d2ad199e0
fix dodgy main
9 years ago
Jonathan Fielding
3bda2b3e7a
fixed name so works with browserify
9 years ago
Jonathan Fielding
d5d320f4f9
Merge pull request #73 from michaldudak/visibility-check
...
Visibility check
10 years ago
Michał Dudak
71b7fe7a2b
Added distributables
10 years ago
Michał Dudak
309b8db4c9
Fixed handling of hidden images
10 years ago
Jonathan Fielding
1a22b5b37b
Merge pull request #71 from lngramos/master
...
Remove data-echo-background attribute upon image load
10 years ago
Luis Ramos
10c42a876b
Update dist files with new built source
10 years ago
Jonathan Fielding
71398296ba
updated packagejson
10 years ago
Luis Ramos
1118a81847
Remove data-echo-background attribute upon image load
10 years ago
Jonathan Fielding
5642ec553b
Merge pull request #67 from jonathan-fielding/master
...
added background image support
10 years ago
Jonathan Fielding
80b6aa6c3a
Merge pull request #63 from spmjs/master
...
Thanks for this,
10 years ago
Jonathan Fielding
77635e29b0
added background image support
10 years ago
afc163
2484572945
Add spm support
10 years ago
Todd Motto
8d33ab9123
Merge pull request #60 from danielguillan/patch-1
...
Fixed typo in README example
10 years ago
Daniel Guillan
c7068275a1
Fixed typo in README example
10 years ago
Todd Motto
dee0bb698c
Merge pull request #54 from raphaeleidus/35_throttle_2
...
implement true throttling
11 years ago
Raphael Eidus
f44cbbc284
implement true throttling
11 years ago
Todd Motto
bc0c06669d
Merge pull request #53 from davidrapson/patch-1
...
Fix error when using as AMD module
11 years ago
David Rapson
a933362afa
Fix error when using as AMD module
...
This module currently breaks when used as an AMD module (at least in RequireJS) as the first argument passed to `factory` from `define` is a reference to `require` not `window`, and so means that `addEventListener` is unavailable. If you switch this to pass a function to define which then returns factory with `root` passed correctly it works OK.
11 years ago
Todd Motto
fc682d9471
Fix GitHub URI
11 years ago
Todd Motto
ac2f9b3ae0
Update README.md
11 years ago
Todd Motto
98a1a9afe8
Merge branch 'master' of https://github.com/toddmotto/echo
...
Conflicts:
.travis.yml
package.json
11 years ago
Todd Motto
172aebf505
Move to Gulp.js
11 years ago
Todd Motto
5d2e82b576
Merge pull request #50 from wbinnssmith/main-package-json
...
Add a main field to the package json.
11 years ago
Will Binns-Smith
9fb53fd3ac
Add a main field to the package json.
11 years ago
Todd Motto
242a6bcb5c
Update .travis.yml
11 years ago
Todd Motto
3b46f3579f
Update Readme
11 years ago
Todd Motto
9921a9f10d
Small cleanups, improved structure, reduce size
11 years ago
Todd Motto
094ad3de89
Merge pull request #47 from raphaeleidus/reduce_filesize
...
Reduce filesize
11 years ago
Raphael Eidus
5cdfa2df3b
dont turn it into an array, keep it as a nodeList
11 years ago
Raphael Eidus
66dcfd7792
reduce file size
11 years ago
Raphael Eidus
de717077c4
change offsetBot to offsetBottom
11 years ago
Raphael Eidus
8cd91fee6c
top to top, bottom to bottom
11 years ago
Raphael Eidus
68d0db6a13
safer parseInt
11 years ago
Raphael Eidus
c3ace88173
Add documentation for new options #45
11 years ago
Raphael Eidus
e895d36b40
In viewport left, right, top and bottom #45
11 years ago
Todd Motto
16f5237837
Merge pull request #39 from raphaeleidus/unload_on_scrollout
...
Unload on scrollout
11 years ago
Todd Motto
fd6c956487
Merge pull request #42 from vzwick/patch-1
...
Query for <img> elements only, 5% perf gain
11 years ago
Valentin Zwick
c77fc689b5
Query for `<img>` elements only
...
While this is probably a case of micro-optimisation, [there is a performance gain of some 5%](http://jsperf.com/queryselectorall-with-attr-only-and-with-element-type ) when querying for `img[data-echo]` as opposed to `[data-echo]` only.
11 years ago
RaphaelEidus
ee6a3e2d53
Merge remote-tracking branch 'upstream/master' into unload_on_scrollout
...
Conflicts:
README.md
dist/echo.js
dist/echo.min.js
src/echo.js
11 years ago
Todd Motto
45f22c4a49
Merge pull request #40 from raphaeleidus/callback
...
Add support for a callback to be fired when images are lazy loaded
11 years ago
RaphaelEidus
f51875d5a6
Add support for a callback to be fired when images are lazy loaded
11 years ago
RaphaelEidus
5bd0b33669
remove placeholder from README.md
11 years ago
RaphaelEidus
7f1accdf86
cache the placeholder on the element
11 years ago
RaphaelEidus
9d09d54b3d
fix documentation error
11 years ago
RaphaelEidus
ca782a2c69
add some documentation to README.md
11 years ago
RaphaelEidus
9792c08351
add a placeholder param
11 years ago
RaphaelEidus
f6a56e0339
add support for defining top and bottom support independently
11 years ago
RaphaelEidus
5a87f4867e
add the ability to unload images after they have scrolled out of view
11 years ago