@stylable/runtime
Advanced tools
Comparing version 4.2.1 to 4.2.2
{ | ||
"name": "@stylable/runtime", | ||
"version": "4.2.1", | ||
"version": "4.2.2", | ||
"description": "Stylable runtime DOM integration", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -9,3 +9,4 @@ import type { NodeRenderer, RenderableStylesheet } from './types'; | ||
export class CacheStyleNodeRenderer | ||
implements NodeRenderer<RenderableStylesheet, HTMLStyleElement> { | ||
implements NodeRenderer<RenderableStylesheet, HTMLStyleElement> | ||
{ | ||
constructor(private options: CachedNodeRendererOptions) {} | ||
@@ -12,0 +13,0 @@ public create = (stylesheet: RenderableStylesheet, key: string) => { |
@@ -17,3 +17,3 @@ /* eslint-disable no-var */ | ||
var style = d.createElement('style'); | ||
style.setAttribute('st-depth', (depth as unknown) as string); | ||
style.setAttribute('st-depth', depth as unknown as string); | ||
style.setAttribute('st-id', namespace); | ||
@@ -20,0 +20,0 @@ style.setAttribute('st-runtime', runtimeId); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
160428
1367