add step based challenge to framework

This commit is contained in:
Quincy Larson
2015-09-27 15:58:59 -07:00
committed by Berkeley Martinez
parent ab204c654e
commit 416a866ec0
10 changed files with 668 additions and 316 deletions

View File

@@ -26,7 +26,8 @@ const challengeView = {
2: 'coursewares/showVideo',
3: 'coursewares/showZiplineOrBasejump',
4: 'coursewares/showZiplineOrBasejump',
5: 'coursewares/showBonfire'
5: 'coursewares/showBonfire',
7: 'coursewares/showStep'
};
const dasherize = utils.dasherize;
@@ -247,6 +248,7 @@ module.exports = function(app) {
dashedName: origChallengeName,
name: challenge.name,
details: challenge.description,
description: challenge.description,
tests: challenge.tests,
challengeSeed: challenge.challengeSeed,
verb: utils.randomVerb(),