mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-02 02:34:26 +02:00
#1235 -- option to skip the intro dialog
This commit is contained in:
parent
79b5471273
commit
55fa0a4f35
3 changed files with 9 additions and 6 deletions
|
@ -46,10 +46,12 @@ var LevelBuilder = Level.extend({
|
|||
this.options = options;
|
||||
|
||||
var locale = LocaleStore.getLocale();
|
||||
options.level.startDialog = {};
|
||||
options.level.startDialog[locale] = {
|
||||
childViews: intl.getDialog(require('../dialogs/levelBuilder'))
|
||||
};
|
||||
if (!options.skipIntro) {
|
||||
options.level.startDialog = {};
|
||||
options.level.startDialog[locale] = {
|
||||
childViews: intl.getDialog(require('../dialogs/levelBuilder')),
|
||||
};
|
||||
}
|
||||
|
||||
// if we are editing a level our behavior is a bit different
|
||||
var editLevelJSON;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue