MCPcopy
hub / github.com/webpack/webpack / replaceSync

Method replaceSync

test/helpers/FakeDocument.js:626–629  ·  test/helpers/FakeDocument.js::CSSStyleSheet.replaceSync

* Synchronously replace the stylesheet content * @param {string} cssText CSS text content

(cssText)

Source from the content-addressed store, hash-verified

624 * @param {string} cssText CSS text content
625 */
626 replaceSync(cssText) {
627 this._cssText = cssText;
628 this._parseCssRules(cssText);
629 }
630
631 /**
632 * Asynchronously replace the stylesheet content

Callers 2

replaceMethod · 0.95
index.jsFile · 0.80

Calls 1

_parseCssRulesMethod · 0.95

Tested by

no test coverage detected