Trying to be able to test in node GAHHHH

This commit is contained in:
Peter Cottle 2012-12-16 20:23:42 -08:00
parent c9fb851ad6
commit aadeab8299
14 changed files with 4186 additions and 69 deletions

View file

@ -1,5 +1,10 @@
var GLOBAL = require('../../util/constants').GLOBAL;
if (!require('../../util').isBrowser()) {
var _ = require('underscore');
var Backbone = require('backbone');
}
var Animation = Backbone.Model.extend({
defaults: {
duration: 300,
@ -82,4 +87,3 @@ var AnimationQueue = Backbone.Model.extend({
exports.Animation = Animation;
exports.AnimationQueue = AnimationQueue;