Skip to content

Commit

Permalink
fixed issue with [getter/setters] on ObjectID effecting some updates,…
Browse files Browse the repository at this point in the history
… reverted back to prototype (for now)
  • Loading branch information
nw committed May 14, 2010
1 parent 625bcd5 commit 433af51
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions examples/simple.js
Expand Up @@ -11,8 +11,6 @@ var sys = require('sys'),
var s1 = new Simple({x : 2, y : 3}).save(); // create a new document and save

Simple.find().one(function(doc){ // query for documents in 'simple' collection
sys.puts('in each');
inspect(doc); // output
doc.y = 5;
doc.save();
},true).then(function(){ // promise (execute after query)
Expand Down

0 comments on commit 433af51

Please sign in to comment.