fix native bindings

native bindings need to get the textParsers with the new syntax
This commit is contained in:
Alexander Sulfrian 2011-11-21 11:37:45 +01:00
parent e9838cc5bb
commit 070155a577

View File

@ -60,7 +60,7 @@ var mapRowData = function(row) {
var result = {};
for(var i = 0, len = row.length; i < len; i++) {
var item = row[i];
result[item.name] = item.value == null ? null : types.getStringTypeParser(item.type)(item.value);
result[item.name] = item.value == null ? null : types.getTypeParser(item.type, 'text')(item.value);
}
return result;
}