jss-plugin-rule-value-function
Advanced tools
Comparing version 10.0.0-alpha.6 to 10.0.0-alpha.7
@@ -1782,2 +1782,11 @@ var global$1 = typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}; | ||
var createStyle = function createStyle() { | ||
var el = document.createElement('style'); // Without it, IE will have a broken source order specificity if we | ||
// insert rules after we insert the style tag. | ||
// It seems to kick-off the source order specificity algorithm. | ||
el.textContent = '\n'; | ||
return el; | ||
}; | ||
var DomRenderer = | ||
@@ -1804,3 +1813,3 @@ /*#__PURE__*/ | ||
this.element = element || document.createElement('style'); | ||
this.element = element || createStyle(); | ||
this.element.setAttribute('data-jss', ''); | ||
@@ -2008,3 +2017,3 @@ if (media) this.element.setAttribute('media', media); | ||
this.id = instanceCounter++; | ||
this.version = "10.0.0-alpha.6"; | ||
this.version = "10.0.0-alpha.7"; | ||
this.plugins = new PluginsRegistry(); | ||
@@ -2011,0 +2020,0 @@ this.options = { |
{ | ||
"name": "jss-plugin-rule-value-function", | ||
"description": "JSS plugin for function value and rule syntax", | ||
"version": "10.0.0-alpha.6", | ||
"version": "10.0.0-alpha.7", | ||
"license": "MIT", | ||
@@ -50,3 +50,3 @@ "homepage": "https://cssinjs.org/", | ||
"devDependencies": { | ||
"jss": "^10.0.0-alpha.6" | ||
"jss": "^10.0.0-alpha.7" | ||
}, | ||
@@ -56,3 +56,3 @@ "dependencies": { | ||
}, | ||
"gitHead": "35e4f8d17c49d0688d660d20d467dc56ccf7e226" | ||
"gitHead": "b12732bff76a96379748d511671a401ebe354588" | ||
} |
93726
2974