@htmlguyllc/jpack
Advanced tools
Comparing version 2.0.4 to 2.0.5
@@ -31,6 +31,4 @@ import {FormFromURL} from "@htmlguyllc/jpack/es/components/form"; | ||
options = typeof options === "undefined" ? {} : options; | ||
if( typeof options !== "object" ) throw `${options} is not an object`; | ||
//make sure options is an object (empty or not) | ||
type_checks.isDataObject(options, Object.keys(FormModalFromURLDefaults), false, false, true); | ||
//start by extending modal options so the individual defaults above aren't overwritten, just the ones you pass are | ||
@@ -37,0 +35,0 @@ options.modalOptions = {...FormModalFromURLDefaults.modalOptions, ...options.modalOptions}; |
{ | ||
"name": "@htmlguyllc/jpack", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"description": "Core Javascript Library of Everyday Objects, Events, and Utilities", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
251102
3448