More bonfire improvements. Removed redundant console statements, improved test scraping, comment scraping included, better reset behavior

This commit is contained in:
Nathan Leniz
2015-01-21 23:54:59 -05:00
parent 6ea5f5c895
commit 74291d2299
10 changed files with 250 additions and 415 deletions

View File

@@ -6,9 +6,9 @@ var secrets = require('../config/secrets');
* @type {exports.Schema}
*/
new Schema({ _id: String })
var ObjectId = require('mongoose').Types.ObjectId;
var myObjectId = ObjectId.fromString('myhexstring');
//new Schema({ _id: String })
//var ObjectId = require('mongoose').Types.ObjectId;
//var myObjectId = ObjectId.fromString('myhexstring');
var bonfireSchema = new mongoose.Schema({
name: {
@@ -21,7 +21,6 @@ var bonfireSchema = new mongoose.Schema({
privateTests: Array,
challengeSeed: String,
bonfireNumber: Number,
number: Number
});
module.exports = mongoose.model('Bonfire', bonfireSchema);