I try to publish a Sable project including a JS script file, i have the error "Error adding script file. Please check syntax" when running the spk file. My JS file has only one simple function :
function test()
{
return 'helloworld';
}
How can i fix this ?
I herewith attach my test project.
Thanks
CT
Problems of publishing Sable with scripts
Moderator: Administrator
Problems of publishing Sable with scripts
- Attachments
-
- test.zip
- (373.34 KiB) Downloaded 1183 times
-
- Super Administrator
- Posts: 4738
- Joined: Wed Mar 05, 2003 3:10 am
Re: Problems of publishing Sable with scripts
It looks like it's a bug when handling unicode files. I'm looking into it.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
-
- Super Administrator
- Posts: 4738
- Joined: Wed Mar 05, 2003 3:10 am
Re: Problems of publishing Sable with scripts
I've uploaded a new version of Sable that should fix this.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: Problems of publishing Sable with scripts
I have tried your new version of Sable but it doesn't work.
Re: Problems of publishing Sable with scripts
I've changed the encoding of my .js file to UTF-8, it works. Thanks!