Mercurial > hg > webaudioevaluationtool
comparison interfaces/AB.js @ 2555:ddcaf70a6af2
fixing option for samediff labels for AB tests - more than two options will show as blank
author | Dave Moffat <me@davemoffat.com> |
---|---|
date | Tue, 20 Dec 2016 12:51:28 +0000 |
parents | e352d52f9237 |
children | 0c724e7c8c26 e3cf3c24149e |
comparison
equal
deleted
inserted
replaced
2554:e352d52f9237 | 2555:ddcaf70a6af2 |
---|---|
376 label = "same"; | 376 label = "same"; |
377 } | 377 } |
378 else if (index == 1){ | 378 else if (index == 1){ |
379 label = "different"; | 379 label = "different"; |
380 } | 380 } |
381 else{ | |
382 label = ""; | |
383 } | |
381 break; | 384 break; |
382 default: | 385 default: |
383 label = String.fromCharCode(65 + index); | 386 label = String.fromCharCode(65 + index); |
384 break; | 387 break; |
385 } | 388 } |