Skip to content

Commit

Permalink
fixes #25 - have toArray() produce a real iterable array
Browse files Browse the repository at this point in the history
  • Loading branch information
xavierlacot committed Jul 3, 2012
1 parent c4ffeaf commit def164c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion joli.js
Expand Up @@ -804,7 +804,7 @@ var joliCreator = function() {
this._data[key] = value;
},
toArray: function() {
var result = [];
var result = {};

joli.each(this._options.table.getColumns(), function(colType, colName) {
result[colName] = this._data[colName];
Expand Down

0 comments on commit def164c

Please sign in to comment.