Skip to content

Commit

Permalink
Change where revalidate gets its options from (#112)
Browse files Browse the repository at this point in the history
It was defaulting to "window" for this. Now uses private scrope for the options.
  • Loading branch information
PeteDuncanson authored and dinbror committed Oct 25, 2016
1 parent d43871b commit 65bde40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blazy.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
/* public functions
************************************/
scope.revalidate = function() {
initialize(this);
initialize(scope);
};
scope.load = function(elements, force) {
var opt = this.options;
Expand Down Expand Up @@ -364,4 +364,4 @@
fn.apply(scope, arguments);
};
}
});
});

0 comments on commit 65bde40

Please sign in to comment.