this is a feature that can save web traffic when loading image.
I'v added a attribute data-rjs-src to retina.js. Once a element is setted attribute src to "" and which has data-rjs-src & data-rjs attribute, the logic added by me will try to load the image-url which defined in data-rjs-src by capability.
So retina.js can save web traffic when loading image now
this is a feature that can save web traffic when loading image.
I'v added a attribute
data-rjs-src
to retina.js. Once a element is setted attributesrc
to "" and which hasdata-rjs-src
&data-rjs
attribute, the logic added by me will try to load the image-url which defined in data-rjs-src by capability.So retina.js can save web traffic when loading image now