@olton/query
Advanced tools
Comparing version 0.4.11 to 0.4.12
{ | ||
"name": "@olton/query", | ||
"version": "0.4.11", | ||
"version": "0.4.12", | ||
"description": "Query is a minimalist JavaScript library for manipulating with HTML Elements", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -320,2 +320,3 @@ import {undef} from "../helpers/undef.js" | ||
return this.each(function(){ | ||
this.dispatchEvent(e) | ||
@@ -322,0 +323,0 @@ }) |
@@ -79,7 +79,3 @@ import {appendScript} from "./script"; | ||
}) | ||
}, | ||
clear: function(){ | ||
return this.empty() | ||
} | ||
} |
@@ -69,3 +69,3 @@ import {toType} from "../helpers/to-type.js"; | ||
serialize(o, joinWith){ | ||
serialize(o, joinWith ){ | ||
let result | ||
@@ -85,2 +85,12 @@ | ||
} | ||
} | ||
export const SerializeForm = { | ||
serialize(joinWith){ | ||
const form = this[0] | ||
if (!(form instanceof HTMLFormElement)) { | ||
throw new Error(`You must call this function for form element!`) | ||
} | ||
return Serialize.serialize(form, joinWith) | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
10683213
3313