Comparing version 0.3.0 to 0.3.1
@@ -52,2 +52,3 @@ module.exports = function(opts) { | ||
tempIframe.sandbox = opts.sandboxAttributes.join(' ') | ||
if (opts.name) tempIframe.setAttribute('name', opts.name) | ||
// generate HTML string | ||
@@ -54,0 +55,0 @@ var htmlSrc = tempIframe.outerHTML |
{ | ||
"name": "iframe", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "higher level api for creating and using iframes in browsers", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -33,2 +33,3 @@ # iframe | ||
{ | ||
name: name of the iframe, | ||
src: if src url is passed in use that (this mode ignores body/head/html options), | ||
@@ -35,0 +36,0 @@ body: string contents for `<body>` |
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
7259
93
78