Skip to content

Commit

Permalink
fix(all): remove getter in PickerColumn parser
Browse files Browse the repository at this point in the history
  • Loading branch information
m1ga authored and ewanharris committed Nov 4, 2022
1 parent 391d407 commit f916130
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Alloy/commands/compile/parsers/Ti.UI.PickerColumn.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function parse(node, state, args) {
}
code += _.template(CU.generateCollectionBindingTemplate(args))({
localModel: localModel,
pre: 'var rows=[];\n_.each(' + args.symbol + '.getRows(), function(r) { ' + args.symbol + '.removeRow(r);});\n',
pre: 'var rows=[];\n_.each(' + args.symbol + '.rows, function(r) { ' + args.symbol + '.removeRow(r);});\n',
items: rowCode,
post: '_.each(rows, function(row) { ' + args.symbol + '.addRow(row); });'
});
Expand Down

0 comments on commit f916130

Please sign in to comment.