Browse files

Merge pull request #377 from pocesar/master

Update memory.js, removed `new`
  • Loading branch information...
2 parents a991a08 + 7ccaeec commit 2a345d23a758bde3b0565434fe0febb5b7eac89a @randunel randunel committed Feb 12, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/adapters/memory.js
View
2 lib/adapters/memory.js
@@ -96,7 +96,7 @@ Memory.prototype.fromDb = function(model, data) {
val = new Date(val.toString().replace(/GMT.*$/, 'GMT'));
break;
case 'Boolean':
- val = new Boolean(val);
+ val = Boolean(val);
break;
}
}

0 comments on commit 2a345d2

Please sign in to comment.