mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-29 20:29:00 +02:00
Levels specify which cards should be displayed
This commit is contained in:
parent
f19d2bee8a
commit
3437b89ffc
11 changed files with 23 additions and 2 deletions
scenes
|
@ -5,6 +5,7 @@ var slug
|
|||
var title
|
||||
var description
|
||||
var congrats
|
||||
var cards
|
||||
var repos = {}
|
||||
|
||||
# The path is an outer path.
|
||||
|
@ -20,6 +21,7 @@ func load(path):
|
|||
title = config.get("title", slug)
|
||||
description = config.get("description", "(no description)")
|
||||
congrats = config.get("congrats", "Good job, you solved the level!\n\nFeel free to try a few more things or click 'Next Level'.")
|
||||
cards = Array(config.get("cards", "checkout commit-auto merge rebase rebase-interactive reset-hard cherry-pick").split(" "))
|
||||
|
||||
var keys = config.keys()
|
||||
var repo_setups = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue