MCPcopy Index your code
hub / github.com/microsoft/SandDance / asyncLoadStyles

Function asyncLoadStyles

docs/app/js/sanddance-app.js:27117–27122  ·  view source on GitHub ↗

* register async loadStyles

()

Source from the content-addressed store, hash-verified

27115/**
27116 * register async loadStyles
27117 */ function asyncLoadStyles() {
27118 return setTimeout(function() {
27119 _themeState.runState.flushTimer = 0;
27120 flush();
27121 }, 0);
27122}
27123/**
27124 * Loads a set of style text. If it is registered too early, we will register it when the window.load event
27125 * is fired.

Callers 1

loadStylesFunction · 0.85

Calls 1

flushFunction · 0.70

Tested by

no test coverage detected