really hacky job of refs

This commit is contained in:
Peter Cottle 2012-09-19 20:10:58 -07:00
parent 8d6e835538
commit 18256dad4b
5 changed files with 103 additions and 9 deletions

View file

@ -15,6 +15,7 @@ $(document).ready(function(){
// the two major collections that affect everything
var commitCollection = new CommitCollection();
commandCollection = new CommandCollection();
var branchCollection = new BranchCollection();
commandBuffer = new CommandBuffer({
collection: commandCollection
@ -30,11 +31,13 @@ $(document).ready(function(){
});
gitVisuals = new GitVisuals({
collection: commitCollection
commitCollection: commitCollection,
branchCollection: branchCollection
});
gitEngine = new GitEngine({
collection: commitCollection
collection: commitCollection,
branches: branchCollection
});
$('#commandTextField').focus();