We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb1af79 commit 76a647cCopy full SHA for 76a647c
1 file changed
extensions/typescript-basics/build/update-grammars.js
@@ -9,7 +9,7 @@ var updateGrammar = require('vscode-grammar-updater');
9
10
function removeDom(grammar) {
11
grammar.repository['support-objects'].patterns = grammar.repository['support-objects'].patterns.filter(pattern => {
12
- if (pattern.match && /\b(HTMLElement|ATTRIBUTE_NODE|stopImmediatePropagation)\b/g.test(pattern)) {
+ if (pattern.match && /\b(HTMLElement|ATTRIBUTE_NODE|stopImmediatePropagation)\b/g.test(pattern.match)) {
13
return false;
14
}
15
return true;
0 commit comments