mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 00:40:07 +02:00
[Flux] Level arbiter removed WOOO
This commit is contained in:
parent
0eade399d2
commit
095c52cec3
7 changed files with 20 additions and 186 deletions
|
@ -11,6 +11,7 @@ var Visualization = require('../visuals/visualization').Visualization;
|
|||
var ParseWaterfall = require('../level/parseWaterfall').ParseWaterfall;
|
||||
var Level = require('../level').Level;
|
||||
var LocaleStore = require('../stores/LocaleStore');
|
||||
var LevelStore = require('../stores/LevelStore');
|
||||
|
||||
var Command = require('../models/commandModel').Command;
|
||||
var GitShim = require('../git/gitShim').GitShim;
|
||||
|
@ -54,7 +55,7 @@ var LevelBuilder = Level.extend({
|
|||
// if we are editing a level our behavior is a bit different
|
||||
var editLevelJSON;
|
||||
if (options.editLevel) {
|
||||
editLevelJSON = Main.getLevelArbiter().getLevel(options.editLevel);
|
||||
LevelStore.getLevel(options.editLevel);
|
||||
options.level = editLevelJSON;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue