if (typeof(FormData) != 'undefined' && asString !== true) {
var fd = new FormData(this.el.dom);
var ret = {}
- formData.entries().forEach(function(pair) {
+ fd.entries().forEach(function(pair) {
ret[pair[0]] = pair[1]; // not sure how this will handle duplicates..
});
return ret;