before big animation implementation

This commit is contained in:
Peter Cottle 2012-09-15 15:33:21 -07:00
parent 5ac6b035f5
commit b7f6bfff5a
6 changed files with 86 additions and 169 deletions

View file

@ -2,20 +2,36 @@
* Globals
*/
var events = _.clone(Backbone.Events);
var sys = null;
var graphicsEffects = {};
var gitEngine = null;
var gitVisuals = null;
var commitCollection = 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
commitCollection = new CommitCollection();
commandCollection = new CommandCollection();
commandBuffer = new CommandBuffer({
collection: commandCollection
});
new CommandPromptView({
el: $('#commandLineBar')
el: $('#commandLineBar'),
collection: commandCollection
});
new CommandLineHistoryView({
el: $('#commandLineHistory')
el: $('#commandLineHistory'),
collection: commandCollection
});
gitEngine = new GitEngine();