Skip to content

Commit

Permalink
Switch to lexical binding
Browse files Browse the repository at this point in the history
Closes mooz#426
  • Loading branch information
dgutov committed Dec 25, 2017
1 parent 33c7169 commit a015ec7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions js2-mode.el
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
;;; js2-mode.el --- Improved JavaScript editing mode
;;; js2-mode.el --- Improved JavaScript editing mode -*- lexical-binding: t -*-

;; Copyright (C) 2009, 2011-2017 Free Software Foundation, Inc.

Expand Down Expand Up @@ -2375,10 +2375,7 @@ NAME can be a Lisp symbol or string. SYMBOL is a `js2-symbol'."
(:include js2-scope)
(:constructor make-js2-script-node (&key (type js2-SCRIPT)
(pos (js2-current-token-beg))
len
;; FIXME: What are those?
var-decls
fun-decls)))
len)))
functions ; Lisp list of nested functions
regexps ; Lisp list of (string . flags)
symbols ; alist (every symbol gets unique index)
Expand Down

0 comments on commit a015ec7

Please sign in to comment.