mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
remove unused argument in FileDropperService constructor
This commit is contained in:
parent
e43cee3c94
commit
398d93557a
@ -148,9 +148,7 @@
|
|||||||
this.penSizeController = new pskl.controller.PenSizeController();
|
this.penSizeController = new pskl.controller.PenSizeController();
|
||||||
this.penSizeController.init();
|
this.penSizeController.init();
|
||||||
|
|
||||||
this.fileDropperService = new pskl.service.FileDropperService(
|
this.fileDropperService = new pskl.service.FileDropperService(this.piskelController);
|
||||||
this.piskelController,
|
|
||||||
document.querySelector('#drawing-canvas-container'));
|
|
||||||
this.fileDropperService.init();
|
this.fileDropperService.init();
|
||||||
|
|
||||||
this.userWarningController = new pskl.controller.UserWarningController(this.piskelController);
|
this.userWarningController = new pskl.controller.UserWarningController(this.piskelController);
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
(function () {
|
(function () {
|
||||||
var ns = $.namespace('pskl.service');
|
var ns = $.namespace('pskl.service');
|
||||||
|
|
||||||
ns.FileDropperService = function (piskelController, drawingAreaContainer) {
|
ns.FileDropperService = function (piskelController) {
|
||||||
this.piskelController = piskelController;
|
this.piskelController = piskelController;
|
||||||
this.drawingAreaContainer = drawingAreaContainer;
|
|
||||||
this.dropPosition_ = null;
|
this.dropPosition_ = null;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user