开发者

Jelly + JavaScript

I'm working with Hudson plugins. Jelly views are the most complicated thing for me.

So the question is how to use JavaScript code in Jelly scripts?

P.S. "Hello World" script is working good but simpl开发者_JS百科e "for" loop brings a lot of problems...


Not sure if this is what you are expecting but, to reference a javascript file (for example):

<script ... src="${rootURL}/plugin/findbugs/tabview-min.js" /> 

Regarding the "for" part, I don't get it exactly. Do you mean jelly's forEach?


For for loop jelly Gives error for < or > sign. Use array.forEach(FunctionName). Add logic for For loop in Function.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜