From 37f5a626b39297ee7dd4e32b338250f9765cbbb6 Mon Sep 17 00:00:00 2001 From: martinandert Date: Sun, 10 Sep 2017 23:52:30 +0200 Subject: [PATCH] Add parenthesis around or'd expression --- src/generators/dom/visitors/Element/Binding.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generators/dom/visitors/Element/Binding.ts b/src/generators/dom/visitors/Element/Binding.ts index 549cb05ecb17..edc3767c0e77 100644 --- a/src/generators/dom/visitors/Element/Binding.ts +++ b/src/generators/dom/visitors/Element/Binding.ts @@ -266,7 +266,7 @@ function getBindingValue( return `@toNumber(${state.parentNode}.${attribute.name})`; } - if (isMediaElement && attribute.name === 'buffered' || attribute.name === 'seekable' || attribute.name === 'played') { + if (isMediaElement && (attribute.name === 'buffered' || attribute.name === 'seekable' || attribute.name === 'played')) { return `@timeRangesToArray(${state.parentNode}.${attribute.name})` }