create infrastructure for advancing through wiki

This commit is contained in:
Michael Q Larson
2015-04-05 16:44:07 -07:00
parent c8b72499ab
commit 60fee94574
6 changed files with 94 additions and 31 deletions

View File

@ -239,6 +239,17 @@ module.exports = {
});
},
allWikiIds: function() {
return wikis.map(function(elem) {
return {
_id: elem._id,
}
})
.map(function(elem) {
return elem._id;
});
},
allBonfireNames: function() {
return bonfires.map(function(elem) {
return {