Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Babel's js parser #16

Merged
merged 3 commits into from
Oct 30, 2017
Merged

Use Babel's js parser #16

merged 3 commits into from
Oct 30, 2017

Conversation

jmfederico
Copy link
Contributor

Currently, this extractor does not takes into account the keyword arguments which instructs which functions are to be searched for.

By using the same js parser that babel uses, we can offload most of the work to babel itself, and now it searches for any keyword as function, not only gettext and ngettext.

@coveralls
Copy link

coveralls commented Oct 21, 2017

Coverage Status

Coverage increased (+2.2%) to 100.0% when pulling 00785f7 on jmfederico:master into 7758b6e on nonamenix:master.

@coveralls
Copy link

coveralls commented Oct 21, 2017

Coverage Status

Coverage increased (+2.2%) to 100.0% when pulling 33370e2 on jmfederico:master into 7758b6e on nonamenix:master.

@ykshatroff
Copy link
Contributor

@jmfederico Thank you for the pull request! Looks fine, I approve.

@nonamenix
Copy link
Owner

@jmfederico many thanks for your PR

@nonamenix nonamenix merged commit 94cbe47 into nonamenix:master Oct 30, 2017
@nonamenix
Copy link
Owner

Version 1.3 now available in pypi: https://pypi.python.org/pypi/babel-vue-extractor

@jmfederico
Copy link
Contributor Author

Great!

Glad I could contribute.

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.

None yet

4 participants