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.init();
|
||||
|
||||
this.fileDropperService = new pskl.service.FileDropperService(
|
||||
this.piskelController,
|
||||
document.querySelector('#drawing-canvas-container'));
|
||||
this.fileDropperService = new pskl.service.FileDropperService(this.piskelController);
|
||||
this.fileDropperService.init();
|
||||
|
||||
this.userWarningController = new pskl.controller.UserWarningController(this.piskelController);
|
||||
|
@ -1,9 +1,8 @@
|
||||
(function () {
|
||||
var ns = $.namespace('pskl.service');
|
||||
|
||||
ns.FileDropperService = function (piskelController, drawingAreaContainer) {
|
||||
ns.FileDropperService = function (piskelController) {
|
||||
this.piskelController = piskelController;
|
||||
this.drawingAreaContainer = drawingAreaContainer;
|
||||
this.dropPosition_ = null;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user