- Update (Imagelib): Remove extra (and more outdated) jQuery copy

- Refactoring (minor): Reuse local variable
- Docs: Contributing re: updates
This commit is contained in:
Brett Zamir
2018-09-25 14:21:40 +08:00
parent 175c72ec11
commit 90ff5b9479
8 changed files with 7 additions and 174 deletions

View File

@@ -35,7 +35,7 @@
name: $(this).text(),
id: href
});
if (!this.href.includes('.svg')) {
if (!href.includes('.svg')) {
var img = new Image();
img.onload = function () {
var canvas = document.createElement('canvas');