mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-26 16:08:34 +02:00
some command line support for things
This commit is contained in:
parent
67817f0cdb
commit
73cead0ae8
3 changed files with 93 additions and 51 deletions
|
@ -23,6 +23,7 @@ var Sandbox = Backbone.View.extend({
|
|||
tagName: 'div',
|
||||
initialize: function(options) {
|
||||
options = options || {};
|
||||
this.options = options;
|
||||
|
||||
this.initVisualization(options);
|
||||
this.initCommandCollection(options);
|
||||
|
@ -140,7 +141,8 @@ var Sandbox = Backbone.View.extend({
|
|||
|
||||
var currentLevel = new Level({
|
||||
level: levelJSON,
|
||||
deferred: whenLevelOpen
|
||||
deferred: whenLevelOpen,
|
||||
command: command
|
||||
});
|
||||
|
||||
whenLevelOpen.promise.then(function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue