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

SyntaxError: unreachable code after return statement #13

Open
13rac1 opened this issue Aug 24, 2015 · 1 comment
Open

SyntaxError: unreachable code after return statement #13

13rac1 opened this issue Aug 24, 2015 · 1 comment

Comments

@13rac1
Copy link

13rac1 commented Aug 24, 2015

There are multiple instances of early returns. They show as warnings in FireFox. Perhaps I am missing something, but AFAIK they should all be removed or at least documented.

Example:

  function prefetchCollections() {
    return;

    $.ajax({
      type:'get',
      url: '/ep/invite/recent-groups',
      data: {
        excludeIds: _getPadCollectionsIds()
      },

src:

Other examples:

@RicardoRFaria
Copy link

Seem temporarily disabled functions, but is weird.

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

2 participants