@olton/query
Advanced tools
Comparing version 0.4.10 to 0.4.11
{ | ||
"name": "@olton/query", | ||
"version": "0.4.10", | ||
"version": "0.4.11", | ||
"description": "Query is a minimalist JavaScript library for manipulating with HTML Elements", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -73,7 +73,7 @@ import {toType} from "../helpers/to-type.js"; | ||
if (o.nodeName && o.nodeName === 'FORM') { | ||
result = this.serializeForm(o) | ||
result = Serialize.serializeForm(o) | ||
} else if (Array.isArray(o)) { | ||
result = o | ||
} else if (toType(o) === 'object') { | ||
result = this.serializeObject(o) | ||
result = Serialize.serializeObject(o) | ||
} else { | ||
@@ -80,0 +80,0 @@ result = [] |
10682854
131