mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2025-02-17 17:01:12 -05:00
lint
This commit is contained in:
parent
cc7b6ee883
commit
fa6bf47b35
3 changed files with 3 additions and 3 deletions
|
@ -109,7 +109,7 @@ export default class Sprite {
|
|||
var img = document.createElement('img');
|
||||
img.ondragstart = function () {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
img.src = dataurl;
|
||||
this.img = img;
|
||||
// Make a copy that is not affected by zoom transformation
|
||||
|
|
|
@ -200,7 +200,7 @@ export default class Library {
|
|||
img.style.height = (data.height * scale) + 'px';
|
||||
img.ondragstart = function () {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
if (data.altmd5) {
|
||||
IO.getAsset(data.altmd5, drawMe);
|
||||
}
|
||||
|
|
|
@ -302,7 +302,7 @@ export default class Home {
|
|||
}
|
||||
img.ondragstart = function () {
|
||||
return false;
|
||||
}
|
||||
};
|
||||
function drawMe (url) {
|
||||
img.src = url;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue