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

Unreachable 'if' after 'break' #50

Closed
CatTail opened this issue Jan 23, 2015 · 3 comments
Closed

Unreachable 'if' after 'break' #50

CatTail opened this issue Jan 23, 2015 · 3 comments

Comments

@CatTail
Copy link

CatTail commented Jan 23, 2015

See mock.js.

Please check your source code with tools like jshint.

And, I hate the code style without semicolon

@nimoc
Copy link

nimoc commented Jan 24, 2015

https://github.com/nuysoft/Mock/blob/master/dist/mock.js dist之后都是有分号
你没发现 mock 的代码风格就是无分号么?https://github.com/nuysoft/Mock/blob/master/src/util.js

@CatTail
Copy link
Author

CatTail commented Jan 24, 2015

This issue is about Unreachable 'if' after 'break'. Please see https://github.com/nuysoft/Mock/blame/master/src/mock.js#L308

nuysoft added a commit that referenced this issue Mar 5, 2015
@nuysoft
Copy link
Owner

nuysoft commented Mar 5, 2015

thx

@nuysoft nuysoft closed this as completed Mar 5, 2015
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

No branches or pull requests

3 participants