Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 687acf7

Browse files
committedSep 10, 2017
Add parenthesis around or'd expression
1 parent 4776c41 commit 687acf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/generators/dom/visitors/Element/Binding.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ function getBindingValue(
266266
return `@toNumber(${state.parentNode}.${attribute.name})`;
267267
}
268268

269-
if (isMediaElement && attribute.name === 'buffered' || attribute.name === 'seekable' || attribute.name === 'played') {
269+
if (isMediaElement && (attribute.name === 'buffered' || attribute.name === 'seekable' || attribute.name === 'played')) {
270270
return `@timeRangesToArray(${state.parentNode}.${attribute.name})`
271271
}
272272

0 commit comments

Comments
 (0)
Please sign in to comment.