Skip to content

Commit

Permalink
Merge pull request #2 from janrembold/events_v2
Browse files Browse the repository at this point in the history
New load event for changed images
  • Loading branch information
janrembold committed Dec 10, 2015
2 parents 3d7ef47 + dd5ce44 commit fb3a1a8
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ These events get fired:
| ----- | ----------- | ------- |
| ready.responsiveImage | This event fires when the responsive image was initially loaded, fires only once | The picture container |
| all.ready.responsiveImage | This event fires when all responsive images were initially loaded, fires only once | Global - $(window) |
| new.source.responsiveImage | This event fires when the image source was changed | The picture container |
| new.source.responsiveImage | This event fires when the image was inserted into the DOM | The picture container |
| load.source.responsiveImage | This event fires when the image source was loaded | The picture container |


### Attributes
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery-responsive-image",
"version": "1.2.0",
"version": "1.2.1",
"homepage": "https://github.com/janrembold/jquery-responsive-image",
"authors": [
"Jan Rembold <[email protected]>"
Expand Down
2 changes: 1 addition & 1 deletion build/jquery.responsiveImage.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions build/jquery.responsiveImage.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jquery-responsive-image",
"version": "1.2.0",
"version": "1.2.1",
"description": "A jQuery responsive image plugin with viewport or container based width matching support",
"author": "Jan Rembold <[email protected]>",
"main": "build/jquery.responsiveImage.min.js",
Expand Down
5 changes: 4 additions & 1 deletion src/jquery.responsiveImage.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fb3a1a8

Please sign in to comment.