Fix strange array bug in node webkit

pull/2/head
Louis Chatriot 12 years ago
parent a15d318244
commit d768da2ff9
  1. 2
      lib/model.js
  2. 2
      package.json

@ -113,7 +113,7 @@ function deepCopy (obj) {
return obj; return obj;
} }
if (obj instanceof Array) { if (util.isArray(obj)) {
res = []; res = [];
obj.forEach(function (o) { res.push(o); }); obj.forEach(function (o) { res.push(o); });
return res; return res;

@ -1,6 +1,6 @@
{ {
"name": "nedb", "name": "nedb",
"version": "0.7.8", "version": "0.7.9",
"author": { "author": {
"name": "tldr.io", "name": "tldr.io",
"email": "hello@tldr.io" "email": "hello@tldr.io"

Loading…
Cancel
Save