Fix similarity visual

Doc was showing similarity when dissimilar
This commit is contained in:
Mathias Deschamps 2017-11-09 11:08:26 +01:00 committed by GitHub
parent 98767122a7
commit 25b26f0d64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ p
+cell.u-text-label.u-color-theme=label
for cell in cells
+cell.u-text-center
- var result = cell < 0.5 ? ["yes", "similar"] : cell != 1 ? ["no", "dissimilar"] : ["neutral", "identical"]
- var result = cell > 0.5 ? ["yes", "similar"] : cell != 1 ? ["no", "dissimilar"] : ["neutral", "identical"]
| #[code=cell.toFixed(2)] #[+procon(...result)]
p