mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Use Constants.EMPTY_FUNCTION
This commit is contained in:
parent
efbfeca200
commit
7e112776b6
@ -27,7 +27,7 @@
|
||||
* @param {function} [onComplete]
|
||||
*/
|
||||
ns.ImportService.prototype.newPiskelFromImage = function (image, options, onComplete) {
|
||||
onComplete = onComplete || function () {};
|
||||
onComplete = onComplete || Constants.EMPTY_FUNCTION;
|
||||
var importType = options.importType;
|
||||
var frameSizeX = options.frameSizeX;
|
||||
var frameSizeY = options.frameSizeY;
|
||||
|
Loading…
Reference in New Issue
Block a user