mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 08:50:06 +02:00
omg finally works
This commit is contained in:
parent
aadeab8299
commit
f34c606d87
12 changed files with 496 additions and 251 deletions
|
@ -1,3 +1,17 @@
|
|||
var _;
|
||||
var Backbone;
|
||||
// horrible hack to get localStorage Backbone plugin
|
||||
if (!require('../util').isBrowser()) {
|
||||
_ = require('underscore');
|
||||
Backbone = require('backbone');
|
||||
} else {
|
||||
Backbone = window.Backbone;
|
||||
_ = window._;
|
||||
}
|
||||
|
||||
var Animation = require('./index').Animation;
|
||||
var GRAPHICS = require('../../util/constants').GRAPHICS;
|
||||
|
||||
/******************
|
||||
* This class is responsible for a lot of the heavy lifting around creating an animation at a certain state in time.
|
||||
* The tricky thing is that when a new commit has to be "born," say in the middle of a rebase
|
||||
|
@ -8,14 +22,6 @@
|
|||
* and then essentially animate the entire tree too.
|
||||
*/
|
||||
|
||||
var Animation = require('./index').Animation;
|
||||
var GRAPHICS = require('../../util/constants').GRAPHICS;
|
||||
|
||||
if (!require('../../util').isBrowser()) {
|
||||
var _ = require('underscore');
|
||||
var Backbone = require('backbone');
|
||||
}
|
||||
|
||||
// essentially a static class
|
||||
var AnimationFactory = function() {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue