开发者

Jelly + JavaScript

开发者 https://www.devze.com 2022-12-13 13:44 出处:网络
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?

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

精彩评论

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