Skip to content
This repository has been archived by the owner on Jan 14, 2025. It is now read-only.

the 'for in' parser will not handle 'of' #7

Open
mcshaz opened this issue Jun 12, 2019 · 0 comments
Open

the 'for in' parser will not handle 'of' #7

mcshaz opened this issue Jun 12, 2019 · 0 comments

Comments

@mcshaz
Copy link

mcshaz commented Jun 12, 2019

the 'for in' parser will not handle 'of' but this is legal vue
chaging the handleForDirective line

const a = value.split(/\s+(in|of)\s+/);

should fix the problem

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant