Coffeescript formatting causes compilation issue
Hi,
I have the following construct in Coffescript:
@dataSource = Kendo.newDataSource
sort: [
{field: 'vatScheme', dir: 'asc'},
{field: 'documentType', dir: 'asc'}
]
When i use the code formatter, it changes to:
@dataSource = Dragon.Kendo.newDataSource
sort: [
{field: 'vatScheme', dir: 'asc'},
{field: 'documentType', dir: 'asc'}
]
array elements are aligned left.
This format does not compile to js. I have tried various options in the custom code formatter, but have foud nothing that fixes the issue. Problem is, now my formatter breaks my code.
Any advice?
~gilbert
This format does not compile to js. I have tried various options in the custom code formatter, but have foud nothing that fixes the issue. Problem is, now my formatter breaks my code.
Any advice?
~gilbert
Please sign in to leave a comment.