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, unexpected 'idx' (T_STRING), expecting ';' #222

Closed
sandrodz opened this issue Jun 22, 2019 · 1 comment
Closed

syntax error, unexpected 'idx' (T_STRING), expecting ';' #222

sandrodz opened this issue Jun 22, 2019 · 1 comment

Comments

@sandrodz
Copy link

Hello,

I encountered an issue with the following code:

      - for (let idx = 0; idx < 5; idx++)
        div(
          class="BackLines-line"
          class= (excludedLines[idx] === false) ? "bg-t" : "bg-t05"
          class= (idx > 2) ? "d-n d-b@s" : "")

But I actually get:
Screen Shot 2019-06-23 at 12 22 58 AM

Problem seems to be let with var it works fine.

Thanks!

@kylekatarnls
Copy link
Member

Hi, I fixed it in the last version of js-phpize, please run composer update to get the bug fixed.

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