Break oneliner to multiple lines

This commit is contained in:
Dávid Szabó 2016-09-23 13:43:11 +02:00 committed by Julian Descottes
parent ffca6aa44c
commit 74f36daa7c

View File

@ -144,7 +144,10 @@
ns.CurrentColorsService.prototype.getFrameColors_ = function (frame, processorCallback) {
var frameColorsWorker = new pskl.worker.framecolors.FrameColors(frame,
function (event) {frameCache[frame.getHash()] = event.data.colors; processorCallback(event.data.colors);},
function (event) {
frameCache[frame.getHash()] = event.data.colors;
processorCallback(event.data.colors);
},
function () {},
function (event) {processorCallback({});}
);