Skip to content

Commit

Permalink
Merge pull request #2 from tiramizoo/master
Browse files Browse the repository at this point in the history
Bug fix variable leaking
  • Loading branch information
cadwallion committed Feb 1, 2012
2 parents 828abe0 + 05d440d commit 10b1567
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module.exports = {
return value;
}
});
obj = new(this.patterns[model].class)(values);
var obj = new(this.patterns[model].class)(values);
return obj;
},
create: function(model, data, callback) {
Expand Down

0 comments on commit 10b1567

Please sign in to comment.