Alberto Rodríguez
058dffd3d3
Added MIT license as file ( #115 )
...
Add the license ass file, because suddenly Github displays the license at the top of the library, it helps to get it faster.
![](https://s17.postimg.org/bepaz1dgf/Untitled.png )
8 years ago
Andrew Shu
a34d60c5a1
feat: Avoid setting elem.src if unchanged ( #113 )
...
* Avoid setting elem.src if unchanged
Helps with non-img elements on Firefox.
Prevents reloading on scroll.
* lint: single-quoted strings
* dist: update with latest source
9 years ago
Todd Motto
74a96b31bd
Merge pull request #94 from Ontraport/master
...
feat: add context and allow for other elements besides img
9 years ago
Todd Motto
008ee35574
Merge pull request #96 from shivanykshenoy/master
...
feat: Add bower.json, update gitignore
9 years ago
Todd Motto
e2398a7a80
chore: Update dist to 1.7.3
9 years ago
shivanyshenoy
853faf30bf
add a bower.json per bower spec, update gitignore
9 years ago
Jonathan Fielding
440f35f9d4
Merge pull request #90 from t128/master
...
+ npm install cmd to readme
9 years ago
Jesse Baird
e17db0f709
added context argument to render
...
allows only loading of elements in a container
9 years ago
Jesse Baird
341f5d5a4e
removed img from selector data-echo
...
Now echo can be used for any element that supports the src attribute
9 years ago
Thomas Heck
1fc6f58070
+ npm install cmd to readme
10 years ago
Jonathan Fielding
3d2ad199e0
fix dodgy main
10 years ago
Jonathan Fielding
3bda2b3e7a
fixed name so works with browserify
10 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
11 years ago
Todd Motto
8d33ab9123
Merge pull request #60 from danielguillan/patch-1
...
Fixed typo in README example
11 years ago
Daniel Guillan
c7068275a1
Fixed typo in README example
11 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