Skip to content

Commit

Permalink
fix: comment unused invalidateIfFirstTokenization
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jan 1, 2021
1 parent 8e408da commit 346a9a3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/dom-styles-reader.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ export default class DOMStylesReader {
/**
* Set to true once tokenized
* @access private
* unused
*/
this.hasTokenizedOnce = false
// this.hasTokenizedOnce = false
}

/**
Expand Down Expand Up @@ -107,11 +108,13 @@ export default class DOMStylesReader {
* @access private
* unused
*/
/*
invalidateIfFirstTokenization () {
if (this.hasTokenizedOnce) { return }
this.invalidateDOMStylesCache()
this.hasTokenizedOnce = true
}
*/
}

// ## ## ######## ## ######## ######## ######## ######
Expand Down

0 comments on commit 346a9a3

Please sign in to comment.