Skip to content

Commit

Permalink
Add back removed DOM functions
Browse files Browse the repository at this point in the history
  • Loading branch information
ccampbell authored and wbond committed Feb 11, 2016
1 parent 24bad03 commit 11d919f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions JavaScript/JavaScript.sublime-syntax
Expand Up @@ -960,6 +960,8 @@ contexts:
WRONG_DOCUMENT_ERR|INVALID_CHARACTER_ERR|NO_DATA_ALLOWED_ERR|NO_MODIFICATION_ALLOWED_ERR|NOT_FOUND_ERR|NOT_SUPPORTED_ERR|INUSE_ATTRIBUTE_ERR
)\b
scope: support.constant.dom.js
- match: \b(s(ub(stringData|mit)|plitText|e(t(NamedItem|Attribute(Node)?)|lect))|has(ChildNodes|Feature)|namedItem|c(l(ick|o(se|neNode))|reate(C(omment|DATASection|aption)|T(Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(ntityReference|lement)|Attribute))|tabIndex|i(nsert(Row|Before|Cell|Data)|tem)|open|delete(Row|C(ell|aption)|T(Head|Foot)|Data)|focus|write(ln)?|a(dd|ppend(Child|Data))|re(set|place(Child|Data)|move(NamedItem|Child|Attribute(Node)?)?)|get(NamedItem|Element(sBy(Name|TagName)|ById)|Attribute(Node)?)|blur)\b(?=\()
scope: support.function.dom.js
- match: (?<!\.)\b(console)(?:(\.)(warn|info|log|error|time|timeEnd|assert|count|dir|group|groupCollapsed|groupEnd|profile|profileEnd|table|trace))?\b
captures:
1: support.type.object.console.js
Expand Down

0 comments on commit 11d919f

Please sign in to comment.