browserify-css
Advanced tools
Comparing version 0.4.1 to 0.4.2
@@ -38,11 +38,10 @@ 'use strict'; | ||
if (style.sheet) { // for IE9+ | ||
if (style.sheet) { // for jsdom and IE9+ | ||
style.innerHTML = cssText; | ||
style.sheet.cssText = cssText; | ||
head.appendChild(style); | ||
} else if (style.styleSheet) { // for IE8 | ||
} else if (style.styleSheet) { // for IE8 and below | ||
head.appendChild(style); | ||
style.styleSheet.cssText = cssText; | ||
} else { | ||
style.innerHTML = cssText; | ||
} else { // for Chrome, Firefox, and Safari | ||
style.appendChild(document.createTextNode(cssText)); | ||
@@ -49,0 +48,0 @@ head.appendChild(style); |
{ | ||
"name": "browserify-css", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "A Browserify transform for bundling, rebasing, inlining, and minifying CSS files", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6
277040
7117
23
8187