Skip to content

Conversation

@potato4d
Copy link
Contributor

@potato4d potato4d commented Mar 1, 2017

I found unnecessary conditional in lang.js.
https://github.com/vuejs/vue/blob/dev/src/core/util/lang.js#L30-L32

if bailRE.test(path) is true, It's return.
So, the next else clause is unnecessary.

@yyx990803 yyx990803 merged commit d6999c1 into vuejs:dev Mar 3, 2017
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.

5 participants