strues / retinajs

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

export is undefined #257

Closed AdamTibi closed 7 years ago

AdamTibi commented 8 years ago

When using the retina.js file without any other dependency than jQuery, the "export" line in the end of the file is "undefined" .

Maybe it should be checked before being accessed for undefined?

maliyshock commented 8 years ago

The same thing. In minified version i have not this error, but still script isnt working, but working on other pages.

emmgfx commented 8 years ago

Same error here :(

Terrorpixel1991 commented 7 years ago

Same here. Is there already a solution?

maliyshock commented 7 years ago

rjs attribute is needed to img tag And this is fixed js file, that work in our project retina.js.tar.gz

oliveratgithub commented 7 years ago

Same issue here, but the fixed JS provided by @maliyshock works for me! Thank you