提交 aaf79ed3 编写于 作者: K Kohsuke Kawaguchi 提交者: Vojtech Juranek

testing external script as well

(cherry picked from commit 11eb4c72)
上级 616b7318
<j:jelly xmlns:j="jelly:core">
y = "yyy";
</j:jelly>
\ No newline at end of file
......@@ -32,6 +32,7 @@ THE SOFTWARE.
<input type="button" value="Test" id="button"/>
<script>
var x = null;
var y = null;
$("button").onclick = function() {
renderOnDemand(document.getElementsBySelector('.lazy')[0]);
}
......@@ -39,10 +40,11 @@ THE SOFTWARE.
<l:renderOnDemand clazz="lazy">
<div id="eye">hello</div>
<div id="loaded">loaded</div>
<script>
x = "foo";
x = "xxx";
</script>
<script src="externalScript"></script>
</l:renderOnDemand>
</l:main-panel>
</l:layout>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册