Skip to content

Releases: staaky/voila

1.5.2

20 Aug 21:36
Compare
Choose a tag to compare
Made sure we can be found as jquery-plugin

1.5.1

20 Aug 21:27
Compare
Choose a tag to compare
Added main to package.json, linked to npm in readme

1.5.0

20 Aug 21:03
Compare
Choose a tag to compare

Prepare for npm publish
Changed wrapper to work with Node/CommonJS

1.4.0

20 Aug 20:45
Compare
Choose a tag to compare
Changed wrapper to work with Node/CommonJS

1.3.1

07 Jun 01:47
Compare
Choose a tag to compare
Changed render check to a timeout

Callbacks could otherwise never fire when updating image.src during a
load. This might be expected while updating a src but we shouldn't check
for it ourselves and always fire the callback.

1.3.0

06 Jun 22:13
Compare
Choose a tag to compare
1.3.0: Added a check ensuring render after onload

1.2.1

05 Jun 17:11
Compare
Choose a tag to compare
Fixed .abort() not cancelling every timeout

1.2.0

05 Jun 15:55
Compare
Choose a tag to compare
1.2.0: fixes & default method back to onload

It turns out polling for `naturalWidth` becomes unreliable after
changing the `src` attribute on an image. Not every browser resets
`naturalWidth` to 0 after changing `src`, doing this even seems to be
against spec.

Polling for `naturalWidth` is only safe if you can rely on the image
never changing its `src` attribute. So we're changing back to `onload`
as default.

Also fixed an issue with `onload` in IE11 that caused callbacks to fire
before the image adjusted layout.

1.1.0

14 Nov 22:40
Compare
Choose a tag to compare

Changed natural option to method: 'naturalWidth'

This will allows for more loading methods to be supported in the future.
Supported methods right now are 'naturalWidth' (the default) and
'onload'.

1.0.7

14 Nov 20:25
Compare
Choose a tag to compare
Added project website, beautified demo