Skip to content
Browse files

fix #5

  • Loading branch information...
2 parents 98d6051 + 15d31fa commit 653b3580e7f8dfb6cb0ca0b04bf1a4cba1ba4fa5 @imsky committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 holder.js
View
8 holder.js
@@ -10,7 +10,7 @@ Commercial use requires attribution.
var Holder = Holder || {};
(function (app, win) {
-
+
var preempted = false,
fallback = false,
canvas = document.createElement('canvas');
@@ -197,7 +197,7 @@ app.run = function (o) {
images = selector(options.images),
elements = selector(options.elements),
preempted = true;
-
+
var cssregex = new RegExp(options.domain+"\/(.*?)\"?\\)");
for(var l = elements.length, i = 0; i < l; i++){
@@ -210,7 +210,7 @@ app.run = function (o) {
}
}
}
-
+
for (var l = images.length, i = 0; i < l; i++) {
var src = images[i].getAttribute("data-src") || images[i].getAttribute("src");
if (src.indexOf(options.domain)>=0) {
@@ -227,4 +227,4 @@ contentLoaded(win, function () {
preempted || app.run()
});
-})(Holder, window);
+})(Holder, window);

0 comments on commit 653b358

Please sign in to comment.
Something went wrong with that request. Please try again.