Added progress bar for GIF rendering

This commit is contained in:
jdescottes
2014-04-12 12:08:53 +02:00
parent 3abf0897d5
commit 09319ecc1b
8 changed files with 155 additions and 61 deletions

View File

@@ -24,6 +24,16 @@
}
}
return false;
},
getParentWithData : function (node, data) {
while (node) {
if (node.dataset && typeof node.dataset[data] !== 'undefined') {
return node;
}
node = node.parentNode;
}
return null;
}
};
})();