mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-23 14:25:17 +02:00
Fix all res/ files with ESLint rules with 0 errors.
This commit is contained in:
@@ -26,11 +26,11 @@ function CanvasRender(canvasElement, options) {
|
||||
}
|
||||
}
|
||||
|
||||
CanvasRender.prototype.draw = function (image) {
|
||||
CanvasRender.prototype.draw = function(image) {
|
||||
this.context.drawImage(image, 0, 0)
|
||||
}
|
||||
|
||||
CanvasRender.prototype.clear = function () {
|
||||
CanvasRender.prototype.clear = function() {
|
||||
this.context.clearRect(0, 0, this.context.canvas.width,
|
||||
this.context.canvas.height)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user