[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/js2-mode 6b84319 44/61: Remove a few unused variables.
From: |
Dmitry Gutov |
Subject: |
[elpa] externals/js2-mode 6b84319 44/61: Remove a few unused variables. |
Date: |
Sun, 20 Dec 2020 12:20:08 -0500 (EST) |
branch: externals/js2-mode
commit 6b843197b662b8ac52f9b73fc2b07e2138755ce3
Author: Philipp Stephani <phst@google.com>
Commit: Philipp Stephani <phst@google.com>
Remove a few unused variables.
---
tests/parser.el | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
diff --git a/tests/parser.el b/tests/parser.el
index 5bee080..d890549 100644
--- a/tests/parser.el
+++ b/tests/parser.el
@@ -162,20 +162,17 @@ the test."
"A.foo = 3;")
(js2-deftest-parse parse-property-access-when-keyword
- "A.in = 3;"
- :bind ((js2-allow-keywords-as-property-names t)))
+ "A.in = 3;")
(js2-deftest-parse parse-property-access-when-keyword-no-xml
"A.in = 3;"
- :bind ((js2-allow-keywords-as-property-names t)
- (js2-compiler-xml-available nil)))
+ :bind ((js2-compiler-xml-available nil)))
(js2-deftest-parse parse-object-literal-when-not-keyword
"a = {b: 1};")
(js2-deftest-parse parse-object-literal-when-keyword
- "a = {in: 1};"
- :bind ((js2-allow-keywords-as-property-names t)))
+ "a = {in: 1};")
;;; 'of' contextual keyword
@@ -1112,7 +1109,7 @@ the test."
(defun js2-test-scope-of-nth-variable-satisifies-predicate (variable nth
predicate)
(goto-char (point-min))
- (dotimes (n (1+ nth)) (search-forward variable))
+ (dotimes (_ (1+ nth)) (search-forward variable))
(forward-char -1)
(let ((scope (js2-node-get-enclosing-scope (js2-node-at-point))))
(should (funcall predicate (js2-get-defining-scope scope variable)))))
- [elpa] externals/js2-mode 997d6bd 30/61: Avoid undefined behavior in indentation tests., (continued)
- [elpa] externals/js2-mode 997d6bd 30/61: Avoid undefined behavior in indentation tests., Dmitry Gutov, 2020/12/20
- [elpa] externals/js2-mode 999c0e7 22/61: Merge pull request #531 from jacksonrayhamilton/jsx-documentation, Dmitry Gutov, 2020/12/20
- [elpa] externals/js2-mode 2d2fb4b 21/61: Reference latest revision of the commentary, Dmitry Gutov, 2020/12/20
- [elpa] externals/js2-mode 146c1f6 32/61: Migrate off deprecated ‘cl’ library., Dmitry Gutov, 2020/12/20
- [elpa] externals/js2-mode d642b7b 34/61: Remove an unused variable, Dmitry Gutov, 2020/12/20
- [elpa] externals/js2-mode 8841175 23/61: support optional-chaining operator, Dmitry Gutov, 2020/12/20
- [elpa] externals/js2-mode b3841a7 24/61: Merge pull request #533 from redguardtoo/master, Dmitry Gutov, 2020/12/20
- [elpa] externals/js2-mode 1a5dee9 38/61: Merge pull request #552 from phst/cl, Dmitry Gutov, 2020/12/20
- [elpa] externals/js2-mode a6e1305 41/61: Merge pull request #555 from phst/unused-arg, Dmitry Gutov, 2020/12/20
- [elpa] externals/js2-mode 5049e54 43/61: Merge pull request #556 from ArneBab/browser-symbols, Dmitry Gutov, 2020/12/20
- [elpa] externals/js2-mode 6b84319 44/61: Remove a few unused variables.,
Dmitry Gutov <=
- [elpa] externals/js2-mode 56991f7 45/61: Merge pull request #557 from phst/unused, Dmitry Gutov, 2020/12/20
- [elpa] externals/js2-mode fe53814 26/61: Merge pull request #544 from wyuenho/use-type-face-for-class, Dmitry Gutov, 2020/12/20
- [elpa] externals/js2-mode e8bbfd2 31/61: Merge pull request #551 from phst/let, Dmitry Gutov, 2020/12/20
- [elpa] externals/js2-mode 710e430 33/61: Migrate remaining files to lexical binding, Dmitry Gutov, 2020/12/20
- [elpa] externals/js2-mode 124d4a3 35/61: Prefix an unused argument with an underscore., Dmitry Gutov, 2020/12/20
- [elpa] externals/js2-mode c00a562 37/61: Add browser symbols from the jslint setup, Dmitry Gutov, 2020/12/20
- [elpa] externals/js2-mode d397cab 39/61: Merge pull request #553 from phst/lexical, Dmitry Gutov, 2020/12/20
- [elpa] externals/js2-mode ae2d021 40/61: Merge pull request #554 from phst/unused-var, Dmitry Gutov, 2020/12/20
- [elpa] externals/js2-mode 3afdc05 42/61: move HTML element constructors to specific section, Dmitry Gutov, 2020/12/20
- [elpa] externals/js2-mode df9d74e 46/61: Improve a comment, Dmitry Gutov, 2020/12/20