Skult bindings of jquery

52 views
Skip to first unread message

Amirouche B.

unread,
Jan 14, 2012, 8:00:16 PM1/14/12
to sku...@googlegroups.com
Héllo,

I would like to build bindings for Jquery. I thought it would be easier to build a separate distribution of skulpt re-using the build system to embed jquery bindings in it. Following this route I tried to build Skulpt with both webgl and turtle by tweaking m script but both are missing when I try to import them in the console. Actually the import works but the module is empty.

How can make this work ?
Is it the prefered way to build bindings for Skulpt or there is another wiser route ?

Thanks in advance

Scott Graham

unread,
Jan 14, 2012, 11:11:54 PM1/14/12
to sku...@googlegroups.com
For including bindings, make sure they're read in getBuiltinsAsJson, those will be the only modules available.

The best advice I have for writing bindings is to follow some of the existing modules. You will likely need to dig into the internals to understand how they work though.
Reply all
Reply to author
Forward
0 new messages