shuffling

This commit is contained in:
Peter Cottle 2012-09-16 10:24:57 -07:00
parent 51ab487003
commit f0e45deb1e
3 changed files with 2 additions and 2 deletions

43
src/main.js Normal file
View file

@ -0,0 +1,43 @@
/**
* Globals
*/
var events = _.clone(Backbone.Events);
var gitEngine = null;
var gitVisuals = null;
var commandCollection = null;
var commandBuffer = null;
$(document).ready(function(){
sys = arbor.ParticleSystem(4000, 200, 0.5, false, 55, 0.005, 'verlet');
sys.renderer = Renderer('#viewport');
// the two major collections that affect everything
var commitCollection = new CommitCollection();
commandCollection = new CommandCollection();
commandBuffer = new CommandBuffer({
collection: commandCollection
});
new CommandPromptView({
el: $('#commandLineBar'),
collection: commandCollection
});
new CommandLineHistoryView({
el: $('#commandLineHistory'),
collection: commandCollection
});
gitVisuals = new GitVisuals({
collection: commitCollection
});
gitEngine = new GitEngine({
collection: commitCollection
});
$('#commandTextField').focus();
});