Fix some code style issues

This commit is contained in:
Julius Haertl
2016-10-28 12:09:48 +02:00
parent 0191b000dc
commit 0aa3f661ac
16 changed files with 108 additions and 203 deletions

View File

@@ -31,9 +31,9 @@ app.filter('iconWhiteFilter', function() {
b: parseInt(result[3], 16)
} : null;
if(result !== null) {
r = color.r/255;
g = color.g/255;
b = color.b/255;
var r = color.r/255;
var g = color.g/255;
var b = color.b/255;
var max = Math.max(r, g, b), min = Math.min(r, g, b);
var h, s, l = (max + min) / 2;