Skip to content

Commit c7bb31b

Browse files
authored
Merge pull request evanplaice#106 from KristjanLiiva/fix/from-objects
Fix: Cannot read property 'push' of undefined in fromObjects
2 parents 1a802de + a26054e commit c7bb31b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jquery.csv.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -944,7 +944,7 @@ RegExp.escape = function (s) {
944944
props = propsManual;
945945
}
946946

947-
var o, p, line, output, propName;
947+
var o, p, line, output = [], propName;
948948
if (config.headers) {
949949
output.push(props);
950950
}

0 commit comments

Comments
 (0)