Search found 16 matches

by sworteu
Mon Feb 15, 2016 8:13 pm
Forum: Feature Requests and Wishlists
Topic: Network Library with Websockets
Replies: 15
Views: 17222

Re: Network Library with Websockets

SinisterSoft wrote:@sworteu Great modules, thanks for sharing. Local and session storage should be 'built-in' imho, so @fred should take a look at your code...
They are not yet completed. Code may be build-in but that's up to fred.
I'd make spiderbasic same as purebasic if i where fred.
by sworteu
Sat Feb 13, 2016 2:26 pm
Forum: Feature Requests and Wishlists
Topic: Network Library with Websockets
Replies: 15
Views: 17222

Re: Network Library with Websockets

I'm currently working on modules on github. I'll be creating a module for WebSockets too.

It's not yet ready but it can be found here once it is: https://github.com/sworteu/XJS
by sworteu
Fri Feb 12, 2016 3:04 pm
Forum: Coding Questions
Topic: how to use #PB_Event_LeftClick
Replies: 2
Views: 2964

Re: how to use #PB_Event_LeftClick

Are you trying to get a left click on the window?
by sworteu
Thu Feb 11, 2016 2:35 pm
Forum: Javascript
Topic: XJS Module (Github)
Replies: 4
Views: 6983

Re: XJS Module (Github)

Fred wrote:Looks good, you're officially the first spiderbasic contributor on github ! :)
Time for a party then.
by sworteu
Wed Feb 10, 2016 7:57 pm
Forum: Javascript
Topic: XJS Module (Github)
Replies: 4
Views: 6983

Re: [Request to all] - Features for module

Great work, you should create a GitHub repository to make your source better accessible for everyone (and get contributions easily)

Done, i'm currently converting it to multiple modules, based on each javascript object.
They will be native javascript (uses no libraries) and multiple files to be ...
by sworteu
Tue Feb 09, 2016 3:36 pm
Forum: Javascript
Topic: XJS Module (Github)
Replies: 4
Views: 6983

XJS Module (Github)

I'm working on a module to implement more javascript functionallity for everyone.
I'd like to hear you wishes here, so i can implement it.

The GitHub project page:
https://github.com/sworteu/XJS
If you'd like to help development of XJS you'd be most welcome.

- XJS::DocumentSetTitle(title.s ...
by sworteu
Tue Feb 09, 2016 3:17 pm
Forum: Javascript
Topic: How to use constant in javascript?
Replies: 4
Views: 6713

Re: How to use constant in javascript?

Fred wrote:You mean PureBasic constants ? If yes, it's not possible, as it's resolved by the compiler before generating the JS.
I see, that's a pitty.

This is the right way then?

Code: Select all

Procedure Some()
const.s = #myconstant
!document.title= v_const
EndProcedure
by sworteu
Tue Feb 09, 2016 2:32 pm
Forum: Javascript
Topic: How to use constant in javascript?
Replies: 4
Views: 6713

How to use constant in javascript?

I know how to use variables, pointers and functions but how to add constants to javascript?
by sworteu
Tue Feb 09, 2016 2:30 pm
Forum: Feature Requests and Wishlists
Topic: Listing of all used libraries by spiderbasic.
Replies: 2
Views: 3481

Re: Listing of all used libraries by spiderbasic.

Fred wrote:you can take a look in the libraries/javascript directory, but I don't we will list them all, because we can change them anytime if we find something which is better.
Thanks, it seems sb is using Dojo as the main library right?