marijnh/CodeMirror2 — Issue #220: wrong indentation for javascript
Author: SuperIlu
Created: 2011-10-27 15:57:49+00:00
State: open

return without a value breaks indentation.

works:

function foo() {
if(a == b) {
return a;
}
}

fails:

function foo() {
if(a == b) {
return;
}
}