From b876b66fdcb5743ecf186a00ab4be9a1d06de5a9 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Thu, 25 Sep 2014 16:53:54 +0200 Subject: [PATCH] style --- public/app/js/main/controllers/BalanceCtrl.js | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/public/app/js/main/controllers/BalanceCtrl.js b/public/app/js/main/controllers/BalanceCtrl.js index bb3a028d..c971cfd7 100644 --- a/public/app/js/main/controllers/BalanceCtrl.js +++ b/public/app/js/main/controllers/BalanceCtrl.js @@ -54,17 +54,7 @@ app.controller( 'BalanceCtrl', }; $scope.coloring_score = function( score ) { - var color_scale = [ '#99f', - '#0f0', - '#3f0', - '#6f0', - '#9f0', - '#cf0', - '#fc0', - '#f90', - '#f60', - '#f30', - '#f00' ]; + var color_scale = [ '#99f', '#0f0', '#3f0', '#6f0', '#9f0', '#cf0', '#fc0', '#f90', '#f60', '#f30', '#f00' ]; return color_scale[ score ]; };