Web application : add one or more javascripts files

Got an idea for enhancing SpiderBasic? New command(s) you'd like to see?
falsam
Posts: 280
Joined: Mon May 05, 2014 9:49 pm
Location: France
Contact:

Web application : add one or more javascripts files

Post by falsam »

When creating a web application (Compiler -> Create App) it would be nice to have an option to add one or more javascripts files.

Thanks.

➽ Windows 11 - JDK 1.8 - SB 2.40 - Android 13
http://falsam.com

Sorry for my poor english
the.weavster
Posts: 220
Joined: Sat Mar 01, 2014 3:02 pm

Re: Web application : add one or more javascripts files

Post by the.weavster »

Are you wanting it minified and combined with your own source code so you end up with a single *.js file?
If so that sounds quite good to me too :)
falsam
Posts: 280
Joined: Mon May 05, 2014 9:49 pm
Location: France
Contact:

Re: Web application : add one or more javascripts files

Post by falsam »

That's not really my request. ;)

I want to have an input box to insert the additional JavaScript (or CSS) source name(s).
Example: babylon.js

It will no longer be necessary to use the require function or another method to insert a file in the html page header.

➽ Windows 11 - JDK 1.8 - SB 2.40 - Android 13
http://falsam.com

Sorry for my poor english
User avatar
Peter
Posts: 1086
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: Web application : add one or more javascripts files

Post by Peter »

falsam wrote:When creating a web application (Compiler -> Create App) it would be nice to have an option to add one or more javascripts files.
+1, definitively! That would make life a lot easier for us module writers.

But I would prefer to specify it under Compiler Options so that the JS are included every time the project starts.

Greetings ... Peter
poshu
Posts: 96
Joined: Mon Feb 24, 2014 11:46 pm

Re: Web application : add one or more javascripts files

Post by poshu »

Oooooh, Now I get it! Yep, we definitively need that.
User avatar
Peter
Posts: 1086
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1:9080
Contact:

Re: Web application : add one or more javascripts files

Post by Peter »

Image
Post Reply