mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
Break oneliner to multiple lines
This commit is contained in:
parent
ffca6aa44c
commit
74f36daa7c
@ -144,7 +144,10 @@
|
|||||||
|
|
||||||
ns.CurrentColorsService.prototype.getFrameColors_ = function (frame, processorCallback) {
|
ns.CurrentColorsService.prototype.getFrameColors_ = function (frame, processorCallback) {
|
||||||
var frameColorsWorker = new pskl.worker.framecolors.FrameColors(frame,
|
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 () {},
|
||||||
function (event) {processorCallback({});}
|
function (event) {processorCallback({});}
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user