Subject: js-mode indentation doesn't recognize brace-less function expressions

From: Štěpán Němec <[email-masked]>
Date: Fri, 22 Jul 2011 21:28:45 +0200

GNU Emacs 24.0.50.6 (i686-pc-linux-gnu) of 2011-01-15 on headley

In JavaScript, the following is a valid function definition:

function foo ()
    a.somewhat().complicated()
    .computation()

but `js-mode' currently indents it like this:

function foo ()
a.somewhat().complicated()
    .computation()

-- 
Štěpán