another down

This commit is contained in:
Peter Cottle 2012-12-12 08:59:59 -08:00
parent 7450fb76ce
commit 0fe113943b
8 changed files with 1147 additions and 1030 deletions

File diff suppressed because it is too large Load diff

View file

@ -9,6 +9,7 @@
*/
var Animation = require('./async').Animation;
var GRAPHICS = require('./constants').GRAPHICS;
// essentially a static class
var AnimationFactory = function() {

View file

@ -1,3 +1,5 @@
var GLOBAL = require('./constants').GLOBAL;
var Animation = Backbone.Model.extend({
defaults: {
duration: 300,

View file

@ -1,8 +1,10 @@
var Commit = require('./git').Commit;
var Branch = require('./git').Branch;
var Main = require('./main');
var Command = require('./commandModel').Command;
var CommandEntry = require('./commandModel').CommandEntry;
var TIME = require('./constants').TIME;
var CommitCollection = Backbone.Collection.extend({
model: Commit

View file

@ -40,3 +40,7 @@ var GRAPHICS = {
orphanNodeFill: 'hsb(0.5,0.8,0.7)',
};
exports.GLOBAL = GLOBAL;
exports.TIME = TIME;
exports.GRAPHICS = GRAPHICS;

View file

@ -129,7 +129,7 @@
<!-- My files! -->
<!-- <script src="async.js"></script> -->
<script src="constants.js"></script>
<!-- <script src="constants.js"></script> -->
<script src="errors.js"></script>
<script src="miscViews.js"></script>

View file

@ -1,4 +1,5 @@
var Main = require('./main');
var GRAPHICS = require('./constants').GRAPHICS;
var randomHueString = function() {
var hue = Math.random();

View file

@ -1,4 +1,6 @@
var Main = require('./main');
var GRAPHICS = require('./constants').GRAPHICS;
var GLOBAL = require('./constants').GLOBAL;
var Collections = require('./collections');
var CommitCollection = Collections.CommitCollection;