tamzinblake / js3-mode

A chimeric fork of js2-mode and js-mode
GNU General Public License v3.0
181 stars 13 forks source link

function indenting broken in nested prop-get function calls #43

Closed tamzinblake closed 12 years ago

tamzinblake commented 12 years ago

It does:

  this.bind('enterframe', function () {
    return 1;
  })
      .bind('keydown', function (e) {
                         return 2;
                       })

by the current questionable assumptions, it should be:

  this.bind('enterframe', function () {
    return 1;
  })
      .bind('keydown', function (e) {
    return 2;
  })