remove unused argument in FileDropperService constructor

This commit is contained in:
Julian Descottes 2017-01-02 23:34:54 +01:00
parent e43cee3c94
commit 398d93557a
2 changed files with 2 additions and 5 deletions

View File

@ -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);

View File

@ -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;
};