mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-29 07:04:48 +02:00
broken right now on master (i know bad) but im transitioning to require, hold ya horses
This commit is contained in:
parent
9ee1490aa3
commit
d7f3653ad9
4 changed files with 984 additions and 4 deletions
|
@ -249,3 +249,6 @@ AnimationFactory.prototype.genFromToSnapshotAnimation = function(
|
|||
};
|
||||
};
|
||||
|
||||
exports.AnimationFactory = AnimationFactory;
|
||||
|
||||
|
||||
|
|
|
@ -145,12 +145,18 @@
|
|||
<script src="collections.js"></script>
|
||||
<script src="visuals.js"></script>
|
||||
<script src="tree.js"></script>
|
||||
<script src="animationFactory.js"></script>
|
||||
<!--<script src="animationFactory.js"></script> -->
|
||||
|
||||
<!-- levels -->
|
||||
<script src="levels.js"></script>
|
||||
|
||||
<!-- on ready -->
|
||||
<script src="main.js"></script>
|
||||
<!-- <script src="main.js"></script> -->
|
||||
|
||||
<script type="text/javascript">
|
||||
var events = _.clone(Backbone.Events);
|
||||
</script>
|
||||
<!-- build -->
|
||||
<script src="../build/bundle.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
10
src/main.js
10
src/main.js
|
@ -1,14 +1,16 @@
|
|||
var AnimationFactory = require('./animationFactory').AnimationFactory;
|
||||
|
||||
/**
|
||||
* Globals
|
||||
*/
|
||||
var events = _.clone(Backbone.Events);
|
||||
|
||||
var ui = null;
|
||||
var animationFactory = null;
|
||||
|
||||
/**
|
||||
* Static Classes
|
||||
*/
|
||||
var animationFactory = new AnimationFactory();
|
||||
animationFactory = new AnimationFactory();
|
||||
|
||||
///////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
@ -45,3 +47,7 @@ function UI() {
|
|||
$('#commandTextField').focus();
|
||||
}
|
||||
|
||||
exports.events = events;
|
||||
exports.ui = ui;
|
||||
exports.animationFactory = animationFactory;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue