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

async keyword is removed #904

Closed
Rich-Harris opened this issue Oct 24, 2017 · 3 comments
Closed

async keyword is removed #904

Rich-Harris opened this issue Oct 24, 2017 · 3 comments
Labels

Comments

@Rich-Harris
Copy link
Member

REPL. The async keyword is removed from the oncreate function:

export default {
  async oncreate() {
    const data = await fetch('foo.json').then(r => r.json());
    console.log(data);
  }
};
@m59peacemaker
Copy link
Contributor

PR coming in a few minutes.

@m59peacemaker
Copy link
Contributor

m59peacemaker commented Nov 7, 2017

#907 and the commit before and after it fixed this. It can be closed.

@Conduitry
Copy link
Member

Fixed in 1.41.2.

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

No branches or pull requests

3 participants