4 An improved JavaScript mode for GNU Emacs. Forked from <http://code.google.com/p/js2-mode/>.
6 For some of the user-visible changes, see
7 [Changes from the original mode](https://github.com/mooz/js2-mode/wiki/Changes-from-the-original-mode).
12 $ git clone git://github.com/mooz/js2-mode.git
14 $ git checkout emacs24
15 $ emacs --batch -f batch-byte-compile js2-mode.el
17 Then put js2-mode.elc into your site-lisp directory.
21 (autoload 'js2-mode "js2-mode" nil t)
22 (add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))
24 See <http://code.google.com/p/js2-mode/wiki/InstallationInstructions> for
30 This version requires Emacs 24. For backwards-compatible version, check out [the
31 `master` branch](https://github.com/mooz/js2-mode/tree/master).
36 If you find problems, please report them at <http://github.com/mooz/js2-mode/issues>.
41 Some third-party modes that use the generated syntax tree:
43 * [js2-highlight-vars-mode](http://mihai.bazon.net/projects/editing-javascript-with-emacs-js2-mode/js2-highlight-vars-mode)
44 * [js2-refactor](https://github.com/magnars/js2-refactor.el)