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

Syntax error #10

Closed
seemsindie opened this issue Dec 2, 2015 · 1 comment
Closed

Syntax error #10

seemsindie opened this issue Dec 2, 2015 · 1 comment

Comments

@seemsindie
Copy link

When i type this code in script tag:

someFunc(e) {
    ...
}

I get the following error:

ERROR in ./src/components/header.tag
Module build failed: Error: SyntaxError: unknown: Unexpected token (5:15)
at Object.module.exports (/home/ivan/Projects/Personal/nut_web/node_modules/riotjs-loader/index.js:37:11)
@ ./src/pages/home.tag 3:0-35

But this is a valid function in es6 i think...

@samuelmesq
Copy link

@seemsindie see #11

@esnunes esnunes closed this as completed Jan 16, 2016
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