jashkenas/coffee-script — Issue #2083: Incorrect method chaining even when indentation is correct
Author: dhlavaty
Created: 2012-01-31 12:23:36+00:00
State: open

This coffeeScript code

```
jQuery('#mydiv')
.data 'one', 'one'
.data 'two', 'two'
```
is compiled into this

```
jQuery('#mydiv').data('one', 'one'.data('two', 'two'));
```

but I think the correct and logical output should look like this

```
jQuery('#mydiv').data('one', 'one').data('two', 'two');
```