Skip to content

Instantly share code, notes, and snippets.

@rupakg
Created March 10, 2011 19:12
Show Gist options
  • Save rupakg/864697 to your computer and use it in GitHub Desktop.
Save rupakg/864697 to your computer and use it in GitHub Desktop.
Coffeescript:
masterTableView = new TableView
id:'masterView'
data:tableData
layout:'vertical'
style: Titanium.UI.iPhone.TableViewStyle.GROUPED
editable:true <=========
complies to JS:
masterTableView = new TableView({
id: 'masterView',
data: tableData,
layout: 'vertical',
style: Titanium.UI.iPhone.TableViewStyle.GROUPED
});
({
editable: true <=========
});
whereas I am expecting it to be:
masterTableView = new TableView({
id: 'masterView',
data: tableData,
layout: 'vertical',
style: Titanium.UI.iPhone.TableViewStyle.GROUPED
editable: true
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment