aboutsummaryrefslogtreecommitdiff
path: root/app/services/color-service.ts
diff options
context:
space:
mode:
authorAlex Tatiyants <atatiyan@gmail.com>2016-01-07 07:44:48 -0800
committerAlex Tatiyants <atatiyan@gmail.com>2016-01-07 07:44:48 -0800
commit721c4a49c47460f1618a0f679fe9125a5f519cdc (patch)
treede9ef56e05163272f904aa83fb320e1df9f48292 /app/services/color-service.ts
parent7363d83b6df50f6cd31f15aebe2ace95d13a2e00 (diff)
fix various build issues
Diffstat (limited to 'app/services/color-service.ts')
-rw-r--r--app/services/color-service.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/color-service.ts b/app/services/color-service.ts
index 37183c0..3116a07 100644
--- a/app/services/color-service.ts
+++ b/app/services/color-service.ts
@@ -15,7 +15,7 @@ export class ColorService {
hslToRgb(h, s, l) {
var r, g, b;
- if (s == 0) {
+ if (s === 0) {
r = g = b = l; // achromatic
} else {
function hue2rgb(p, q, t) {