1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | var Stylesheet_1 = require("./Stylesheet");
|
4 |
|
5 |
|
6 |
|
7 |
|
8 |
|
9 | function renderStatic(onRender, namespace) {
|
10 | var stylesheet = Stylesheet_1.Stylesheet.getInstance();
|
11 | stylesheet.setConfig({
|
12 | injectionMode: Stylesheet_1.InjectionMode.none,
|
13 | namespace: namespace,
|
14 | });
|
15 | stylesheet.reset();
|
16 | return {
|
17 | html: onRender(),
|
18 | css: stylesheet.getRules(true),
|
19 | };
|
20 | }
|
21 | exports.renderStatic = renderStatic;
|
22 |
|
\ | No newline at end of file |