branch: master
commit 87f43f37c6b4a94fa15b0d95dfdb3ac7dafde77b
Author: Dmitry Gutov <[email protected]>
Commit: Dmitry Gutov <[email protected]>

    Fix more remaining failures
    
    Closes #324
---
 js2-mode.el |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/js2-mode.el b/js2-mode.el
index 5b3f177..c999e48 100644
--- a/js2-mode.el
+++ b/js2-mode.el
@@ -11026,6 +11026,7 @@ And, if CHECK-ACTIVATION-P is non-nil, use the value of 
TOKEN."
   "Print the path to the JSON value under point, and save it in the kill ring.
 If HARDCODED-ARRAY-INDEX provided, array index in JSON path is replaced with 
it."
   (interactive "P")
+  (js2-reparse)
   (let (previous-node current-node
         key-name
         rlt)
@@ -12569,6 +12570,7 @@ it marks the next defun after the ones already marked."
   "Jump to the definition of an object's property, variable or function."
   (interactive "P")
   (ring-insert find-tag-marker-ring (point-marker))
+  (js2-reparse)
   (let* ((node (js2-node-at-point))
          (parent (js2-node-parent node))
          (names (if (js2-prop-get-node-p parent)

Reply via email to