]> code.delx.au - gnu-emacs-elpa/commitdiff
Updated README
authormooz <stillpedant@gmail.com>
Fri, 19 Mar 2010 04:18:09 +0000 (13:18 +0900)
committermooz <stillpedant@gmail.com>
Fri, 19 Mar 2010 04:18:09 +0000 (13:18 +0900)
README.md

index 553606bdd53ad9fd2d294137a1f61280fe9228ee..2487c82b04b55788a3cd63032e370ef1566800e5 100644 (file)
--- a/README.md
+++ b/README.md
@@ -39,6 +39,23 @@ Support for expression closure in property value
         fire: function () _fire()
     };
 
+Fixed the odd indentation of "else if" with no braces
+-----------------------------------------------------
+
+In original js2-mode.el,
+
+    if (foo)
+        return foo;
+    else if (bar)
+    return bar;      // here
+
+In this js2-mode.el,
+
+    if (foo)
+        return foo;
+    else if (bar)
+        return bar;  // fixed
+
 Bugs
 ====