Skip to content

Commit

Permalink
[JavaScript] Remove special scoping of escape/unescape. (#1929)
Browse files Browse the repository at this point in the history
  • Loading branch information
Thom1729 authored and wbond committed Jul 29, 2019
1 parent 4fdbe6c commit d22df90
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions JavaScript/JavaScript.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -2068,11 +2068,6 @@ contexts:
scope: support.function.js
pop: true

# Annex B
- match: (?:escape|unescape){{identifier_break}}
scope: invalid.deprecated.js support.function.js
pop: true

support-property-ecma-array:
- match: (?:from|isArray|of){{identifier_break}}
scope: support.function.builtin.js
Expand Down
5 changes: 0 additions & 5 deletions JavaScript/tests/syntax_test_js_support_builtin.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,6 @@
encodeURIComponent;
// ^^^^^^^^^^^^^^^^^^ support.function

escape;
// ^^^^^^ invalid.deprecated support.function
unescape;
// ^^^^^^^^ invalid.deprecated support.function


foo.constructor;
// ^^^^^^^^^^^ variable.language.constructor
Expand Down

0 comments on commit d22df90

Please sign in to comment.