File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -378,6 +378,7 @@ cls.JSSourceTooltip = function(view)
378378 parens_stack . push ( token [ VALUE ] )
379379 previous_token = token ;
380380 }
381+
381382 if ( token [ VALUE ] == "(" )
382383 {
383384 parens_stack . pop ( ) ;
@@ -428,6 +429,7 @@ cls.JSSourceTooltip = function(view)
428429 index = i - 1 ;
429430 continue ;
430431 }
432+
431433 if ( token [ VALUE ] == "[" && bracket_stack . length )
432434 {
433435 bracket_stack . pop ( ) ;
@@ -612,6 +614,7 @@ cls.JSSourceTooltip = function(view)
612614 parens_stack . push ( token [ VALUE ] )
613615 previous_token = token ;
614616 }
617+
615618 if ( token [ VALUE ] == ")" )
616619 {
617620 parens_stack . pop ( ) ;
@@ -631,6 +634,7 @@ cls.JSSourceTooltip = function(view)
631634 bracket_stack . push ( token [ VALUE ] )
632635 previous_token = token ;
633636 }
637+
634638 if ( token [ VALUE ] == "]" )
635639 {
636640 bracket_stack . pop ( ) ;
@@ -664,13 +668,15 @@ cls.JSSourceTooltip = function(view)
664668 index = i ;
665669 continue ;
666670 }
671+
667672 if ( token [ VALUE ] == "]" )
668673 {
669674 bracket_stack . pop ( ) ;
670675 previous_token = token ;
671676 index = i ;
672677 continue ;
673678 }
679+
674680 if ( token [ VALUE ] == "[" )
675681 {
676682 bracket_stack . push ( token [ VALUE ] ) ;
@@ -702,6 +708,7 @@ cls.JSSourceTooltip = function(view)
702708 index = i - 1 ;
703709 continue ;
704710 }
711+
705712 if ( token [ VALUE ] == "]" && bracket_stack . length )
706713 {
707714 bracket_stack . pop ( ) ;
You can’t perform that action at this time.
0 commit comments