code formating

Signed-off-by:Guillaume Martigny <guillaume.martigny@gmail.com>
This commit is contained in:
Guillaume Martigny 2016-02-03 14:17:12 +01:00
parent fb9c600b9f
commit 9bd3bf4adf

View File

@ -2,7 +2,7 @@
var ns = $.namespace('pskl.controller');
ns.PaletteController = function () {
this.displayer = $('.palette-value-displayer');
this.displayer = $('.palette-value-displayer');
};
/**
@ -116,7 +116,9 @@
* @private
*/
ns.PaletteController.prototype.showValueDisplayer_ = function (evt) {
var color = evt.data.isPrimary ? pskl.app.selectedColorsService.getPrimaryColor() : pskl.app.selectedColorsService.getSecondaryColor();
var color = evt.data.isPrimary ?
pskl.app.selectedColorsService.getPrimaryColor() :
pskl.app.selectedColorsService.getSecondaryColor();
this.displayer.html(color);
};
/**