共有 0 个贴子
没有任何数据可供显示
开源项目社区 | 当前位置 : |
|
www.trustie.net/open_source_projects | 主页 > 开源项目社区 > Grapplet |
Grapplet
|
1 | 0 | 3 |
贡献者 | 讨论 | 代码提交 |
Grapplet provides a way for running Groovy on an applet, adding extra functionality to JS objects and arrays,
for example arrays behave like Java Lists, so all GDK methods available to List and Collection can be used in JS arrays.
Grapplet will automatically look for all tags available in the page that have its language property set to
"text/x-groovy". This was inspired by a post on Dion's blog: Running Ruby in the browser via script type="text/ruby".
Once Grapplet is running on a page, you can evaluate any Groovy script by calling evaluateScript().