@cicada/render
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -86,3 +86,3 @@ 'use strict'; | ||
clsName = '' + STYLE_SHEET_PREFIX + clsName; | ||
if (!document || document.getElementById(clsName)) return clsName; | ||
if (typeof document === 'undefined' || document.getElementById(clsName)) return clsName; | ||
var styleDom = document.createElement('style'); | ||
@@ -89,0 +89,0 @@ styleDom.setAttribute('id', clsName); |
{ | ||
"name": "@cicada/render", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"main": "./lib/index.js", | ||
@@ -5,0 +5,0 @@ "scripts": { |
339106
57