News for hackers. Stuff that matters.
Re:Mobl - A new open source language for mobile devices by Zef on Thursday March 24, 2011 @02:30AM (#2363100)
Not sure this is the place for it (maybe ask on the google group?) But there's two ways:

screen root() { mydiv@<div/> script { mydiv.someplugin(); } }

mydiv will be bound to a JQuery object representing the div. You can also just do this:

screen root() { script { $("#div").someplugin(); } }

So generally your answer is: put it in a script { ... } block.

There are no comments on this comment yet.