1. 13 Dec, 2013 9 commits
  2. 12 Dec, 2013 6 commits
  3. 11 Dec, 2013 15 commits
  4. 10 Dec, 2013 2 commits
  5. 09 Dec, 2013 7 commits
  6. 08 Dec, 2013 1 commit
    • Dmitry Gutov's avatar
      Port indentation code from js2-mode to js-mode · 47e59c66
      Dmitry Gutov authored
      * lisp/progmodes/js.el (js-auto-indent-flag): Remove, was unused.
      (js-switch-indent-offset): New option.
      (js--proper-indentation): Use it.  And handle the case when
      "default" is actually a key in an object literal.
      (js--same-line): New function.
      (js--multi-line-declaration-indentation): Use it.
      (js--indent-in-array-comp, js--array-comp-indentation): New
      functions.
      (js--proper-indentation): Use them, to handle array comprehension
      continuations.
      47e59c66