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;
}
if (obj instanceof Array) {
if (util.isArray(obj)) {
res = [];
obj.forEach(function (o) { res.push(o); });
return res;

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

Loading…
Cancel
Save