dynamic-resource-hints
Advanced tools
Comparing version 0.0.3 to 0.0.4
var makeHint = function makeHint(href, rel, as, crossorigin, type) { | ||
var link = document.createElement("link"); | ||
link.setAttribute("rel", type); | ||
link.setAttribute("rel", rel); | ||
link.setAttribute("href", href); | ||
@@ -5,0 +5,0 @@ crossorigin && link.setAttribute("crossorigin", crossorigin); |
{ | ||
"name": "dynamic-resource-hints", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Dynamically add preload browser hints at runtime", | ||
@@ -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
4719