Minor updates

This commit is contained in:
terakilobyte
2015-05-18 21:20:32 -04:00
parent 94abc6cf5b
commit e6851b22d8
4 changed files with 57 additions and 64 deletions

View File

@@ -45,9 +45,17 @@ Array.zip = function(left, right, combinerFunction) {
return results;
};
buildChallengeMap = function() {
};
module.exports = {
getChallengeMapWithIds: function() {
// TODO finish this
if (challengeMap === null) {
buildChallengeMap();
}
var challengeMapWithIds = {};
Object.keys(challengeMap).
forEach(function(key) {
@@ -71,9 +79,7 @@ module.exports = {
return challengeMapWithNames;
},
getChallengeName: function(challengeId) {
},
sitemap: function sitemap(req, res, next) {
var appUrl = 'http://www.freecodecamp.com';