Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

JS directives are not unused expressions #1094

Merged
merged 2 commits into from
Apr 7, 2016
Merged

JS directives are not unused expressions #1094

merged 2 commits into from
Apr 7, 2016

Conversation

jkillian
Copy link
Contributor

@jkillian jkillian commented Apr 6, 2016

Fixes #1050


if (!isValidStandaloneExpression && !isValidStringExpression) {
if (!isValidStandaloneExpression && !isValidDirective) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: I would just inline the call to isDirective(node)

@adidahiya
Copy link
Contributor

👍

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

Successfully merging this pull request may close these issues.

2 participants