ab-interchange
Advanced tools
Comparing version 1.2.2 to 1.2.3
@@ -187,4 +187,4 @@ !(function(name, definition) { | ||
for (var i = 0, len = elements.length; i < len; i++) { | ||
if (!elements[i].dataset.plugin_interchange) { | ||
elements[i].dataset.plugin_interchange = new Interchange(elements[i], opt); | ||
if (!elements[i].getAttribute('data-plugin_interchange')) { | ||
elements[i].setAttribute('data-plugin_interchange', new Interchange(elements[i], opt)); | ||
} | ||
@@ -195,2 +195,2 @@ } | ||
return abInterchange; | ||
})); | ||
})); |
{ | ||
"name": "ab-interchange", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"description": "AB-interchange: While responsive image loading is not really an easy task even today, here is a solution to manage conditional (based on breakpoints) loading of img, background-image or even HTML content.", | ||
@@ -5,0 +5,0 @@ "main": "ab-interchange.js", |
10093
157