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
Todd Motto
25273437e2
Echo 1.5.0
11 years ago
Todd Motto
b92665787c
Update banner
11 years ago
Todd Motto
28578c671c
Update README.md
11 years ago
Todd Motto
a8e19482eb
Update v1.4.0
11 years ago
Todd Motto
8fb210c284
Update wording
11 years ago
Todd Motto
867b1827df
Update headings
11 years ago
Todd Motto
918043ec8d
Update heading
11 years ago
Todd Motto
da42a9e10b
Echo v1.4.0, throttling and offset options
11 years ago
Todd Motto
8743bff34f
IE8 Support
11 years ago
Todd Motto
189f3cebb0
IE8 support, v1.3.0
11 years ago
Todd Motto
dd712f9364
Added IE8 support, hooray!
11 years ago
Todd Motto
3b323bc66e
Save 2 bytes
11 years ago
Todd Motto
9d07ee076c
Echo.js v1.2.0
11 years ago
Todd Motto
4c2ef2fc4f
Pass in global undefined
11 years ago
Todd Motto
4f173e6fda
Echo v1.1.0, minor event bind enhancement
11 years ago
Todd Motto
5cb984e290
Add intro
11 years ago