SB2.0 (Test Version) - Optimize Java Script BUG

Just starting out? Need help? Post your questions and find answers here.
Num3
Posts: 22
Joined: Wed Apr 09, 2014 7:09 pm

SB2.0 (Test Version) - Optimize Java Script BUG

Post by Num3 »

Howdy partners!

I am testing SB 2.0 in hope to convert a Purebasic project to it, i downloaded the LedDisplay example from the forum here, but if i try to create an APP with "Optimize Java Script" enabled i always get this error:

Image
Sirius-2337
Posts: 35
Joined: Wed Mar 26, 2014 5:47 pm

Re: SB2.0 (Test Version) - Optimize Java Script BUG

Post by Sirius-2337 »

Try to leave out the last comma after stepDelay.

Code: Select all

!   stepDelay: 35 ;<-- no comma here
Num3
Posts: 22
Joined: Wed Apr 09, 2014 7:09 pm

Re: SB2.0 (Test Version) - Optimize Java Script BUG

Post by Num3 »

Late reply, but it was that lost comma.
The debugger was a bit off target there xD
Fred
Site Admin
Posts: 1820
Joined: Mon Feb 24, 2014 10:51 am

Re: SB2.0 (Test Version) - Optimize Java Script BUG

Post by Fred »

It's the google closure compiler which raise this error :) https://developers.google.com/closure/compiler/
Fangles
Posts: 11
Joined: Sat Jan 28, 2017 4:25 am

Re: SB2.0 (Test Version) - Optimize Java Script BUG

Post by Fangles »

Num3, where do I find the ledgadget example? I used the forum search function and it finds nothing. Manually searched tips and tricks etc as well.

I loved the led example int he purebasic forum and wanted to see it here.
Post Reply