big design update, bugs, etc

This commit is contained in:
Peter Cottle 2012-09-16 23:52:32 -07:00
parent ff4312ba49
commit 9378254f0a
8 changed files with 259 additions and 17 deletions

View file

@ -21,12 +21,13 @@ var Animation = Backbone.Model.extend({
var AnimationQueue = Backbone.Model.extend({
defaults: {
animations: [],
animations: null,
index: 0,
callback: null
},
initialize: function(options) {
this.set('animations', []);
if (!options.callback) {
console.warn('no callback');
}