strues / retinajs

JavaScript, SCSS, Sass, Less, and Stylus helpers for rendering high-resolution image variants
http://retinajs.com
MIT License
4.42k stars 610 forks source link

Don't pass Event object as argument #256

Closed uudens closed 7 years ago

uudens commented 8 years ago

Without this change it thinks I'm passing a list of images but it's actually an Event object so no images are replaced on window load. fixes #253

imyzf commented 7 years ago

+1, I meet this error too. It's a very serious bug and make retina.js doesn't work at all. Could anyone merge it?

jgnewman commented 7 years ago

@xorcery Skuf, you can merge this.