Skip to content

Commit

Permalink
#main fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bennobuilder committed Aug 27, 2024
1 parent 07139f2 commit 5ad6cdd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/xml-tokenizer/src/selector/TokenSelectState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ export class TokenSelectState {
if (this._segment.text != null) {
matchCriteria |= ETokenMatchCriteria.Text;
}
if (this._segment.predicate != null) {
matchCriteria |= ETokenMatchCriteria.Node;
cacheProps |= EToCacheNodeProps.Name | EToCacheNodeProps.Attributes | EToCacheNodeProps.Text;
}
// if (this._segment.predicate != null) {
// matchCriteria |= ETokenMatchCriteria.Node;
// cacheProps |= EToCacheNodeProps.Name | EToCacheNodeProps.Attributes | EToCacheNodeProps.Text;
// }

this._matchCriteria = matchCriteria;
this._toCacheNodeProps = cacheProps;
Expand Down

0 comments on commit 5ad6cdd

Please sign in to comment.