style-inject
Advanced tools
Comparing version 0.0.11 to 0.1.0
@@ -1,2 +0,2 @@ | ||
module.exports = function styleInject (css) { | ||
module.exports = function styleInject (css, returnValue) { | ||
css = css || ''; | ||
@@ -12,2 +12,3 @@ var head = document.head || document.getElementsByTagName('head')[0]; | ||
head.appendChild(style); | ||
return returnValue; | ||
}; |
{ | ||
"name": "style-inject", | ||
"version": "0.0.11", | ||
"version": "0.1.0", | ||
"description": "Inject style tag to document head.", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "echo lol" | ||
}, | ||
@@ -9,0 +9,0 @@ "repository": { |
@@ -0,0 +0,0 @@ # style-inject |
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
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
13
1
2864