FIX: Allow Favcount to be used with CORS. I've submitted this upstream

too:

https://github.com/chrishunt/favcount/pull/8
This commit is contained in:
Robin Ward 2014-01-23 11:07:10 -05:00
parent 97dd560d84
commit 7b20079d85

View File

@ -20,6 +20,8 @@
img = document.createElement('img');
if (self.canvas.getContext) {
img.crossOrigin = "anonymous";
img.onload = function() {
drawCanvas(self.canvas, self.opacity, self.font, img, normalize(count));
};