Skip to content

Commit

Permalink
favicon and enhanced Bid constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
DSRoden committed Aug 31, 2014
1 parent d4fecdb commit fbae938
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions app/models/bid.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ var Mongo = require('mongodb'),
async = require('async');

function Bid(o){
this.itemUpForBidId = o.itemUpForBidId;
this.itemOfferedId = o.itemOfferedId;
this.upForBidOwnerId = o.upForBidOwnerId;
this.offerOwnerId = o.offerOwnerId;
this.itemUpForBidId = Mongo.ObjectID(o.itemUpForBidId);
this.itemOfferedId = Mongo.ObjectID(o.itemOfferedId);
this.upForBidOwnerId = Mongo.ObjectID(o.upForBidOwnerId);
this.offerOwnerId = Mongo.ObjectID(o.offerOwnerId);
this.isOpen = true;
this.bidDate = new Date();
}

Object.defineProperty(Bid, 'collection', {
Expand Down
Binary file modified app/static/favicon.ico
Binary file not shown.

0 comments on commit fbae938

Please sign in to comment.