UNPKG

alloy

Version:

TiDev Titanium MVC Framework

8 lines (7 loc) 312 B
var <%= style %> = <%= styleCode %>; if(<%= actionView %>) { <%= style %>.actionView = <%= actionView %>; } <%= item %> = <%= parent %>.add(_.pick(<%= style %>,Alloy.Android.menuItemCreateArgs)); <%= item %>.applyProperties(_.omit(<%= style %>,Alloy.Android.menuItemCreateArgs)); $.<%= argsId %> = <%= item %>;