// test for regressions related to drop unused templates analysis
application test
page root(){
}
template templ(){
tmp1({ t00[] })
output(rendertemplate(t01()))
tmp2([({ t02[] },""),({ t03[] },"")])
}
template tmp1(t:TemplateElements){
t
}
template tmp2(ts:[te:TemplateElements,s:String]){
for(t in ts){
t.te
}
}
template t00(){
"test00"
}
more fragments
application test
entity TestEntity{
name :: String
}
define page root() {
var st := "1"
var ins := 3
form{
b(12345)
submit action{ TestEntity{ name := st+ins }.save(); } {"save"}
}
for(te:TestEntity){
output(te.name)
}
define b(i:Int) = a(*,st,ins)
}
define a(i:Int, s:Ref<String>, ins: Ref<Int>){
output(i)
more fragments
|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\
appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){
filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.
more fragments
_hideNextMonthArrow||!!l.maxRangeDate&&l.maxRangeDate<new Date(l.currentYear,l.currentMonth+1,1)):te();var d=D("div","dayContainer");d.appendChild(i),
currentYear+=l.currentMonth>11?1:-1,l.currentMonth=(l.currentMonth+12)%12,Q("onYearChange")),P(),Q("onMonthChange"),te(),n&&document.activeElement&&
function q(){l.config.noCalendar||l.isMobile||(A(),te(),P())}function z(e){e.preventDefault(),e.stopPropagation();var t=function e(t,n){return n(t)?t:t.
more fragments
_getMinMaxDate(t,"max"),Z=t.drawMonth-V,te=t.drawYear;if(0>Z&&(Z+=12,te--),J)for(e=this._daylightSavingAdjust(new Date(J.getFullYear(),J.getMonth()-U[0]*U[1]+1,J.getDate())),e=Q&&Q>e?Q:e;this._daylightSavingAdjust(new Date(te,Z,1))>e;)Z--,0>Z&&(Z=11,te--);for(t.drawMonth=Z,t.drawYear=te,i=this._get(t,"prevText"),i=K?this.formatDate(i,this._daylightSavingAdjust(new Date(te,Z-$,1)),this._getFormatConfig(t)):i,s=this._canAdjustMonth(t,-1,te,Z)?"<a class='ui
more fragments