Comparing version 1.0.29 to 1.0.30
@@ -237,22 +237,22 @@ /* | ||
Object.prototype.serializeObject = function () { | ||
var unindexed_array = this.serializeArray(); | ||
var indexed_array = {}; | ||
// Object.prototype.serializeObject = function () { | ||
// var unindexed_array = this.serializeArray(); | ||
// var indexed_array = {}; | ||
$.map(unindexed_array, function (n, i) { | ||
indexed_array[n['name']] = n['value']; | ||
}); | ||
// $.map(unindexed_array, function (n, i) { | ||
// indexed_array[n['name']] = n['value']; | ||
// }); | ||
return indexed_array; | ||
}; | ||
// return indexed_array; | ||
// }; | ||
Object.prototype.serializeJSON = function () { | ||
var unindexed_array = this.serializeArray(); | ||
var indexed_array = {}; | ||
// Object.prototype.serializeJSON = function () { | ||
// var unindexed_array = this.serializeArray(); | ||
// var indexed_array = {}; | ||
$.map(unindexed_array, function (n, i) { | ||
indexed_array[n['name']] = n['value']; | ||
}); | ||
// $.map(unindexed_array, function (n, i) { | ||
// indexed_array[n['name']] = n['value']; | ||
// }); | ||
return indexed_array; | ||
}; | ||
// return indexed_array; | ||
// }; |
{ | ||
"name": "px-core", | ||
"version": "1.0.29", | ||
"version": "1.0.30", | ||
"description": "px-core offers many short uses to make javascript easy to use. For example, it includes ajax, crypto, search, insert, delete and sort in json, Array and String prototypes, input - replace and focus events, and many utilities.", | ||
@@ -5,0 +5,0 @@ "main": "core.js", |
121299