Skip to content

app: avoid evaluating impossible condition - #253

Open
DanielEScherzer wants to merge 1 commit into
vuejs:mainfrom
DanielEScherzer:patch-1
Open

app: avoid evaluating impossible condition#253
DanielEScherzer wants to merge 1 commit into
vuejs:mainfrom
DanielEScherzer:patch-1

Conversation

@DanielEScherzer

Copy link
Copy Markdown

If the el.hasAttribute('v-scope') condition is true, then roots is set to the non-empty array [el] and can never be empty; it can only be empty if the condition does not hold and the else branch is taken.

If the `el.hasAttribute('v-scope')` condition is true, then `roots` is set to
the non-empty array `[el]` and can never be empty; it can only be empty if the
condition does not hold and the `else` branch is taken.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant