Use Constants.EMPTY_FUNCTION

This commit is contained in:
Brad Buchanan 2016-06-16 18:13:08 -07:00
parent efbfeca200
commit 7e112776b6

View File

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