Permalink
Browse files

Convert from AMD-CommonJS hybrid to CommonJS.

  • Loading branch information...
trusktr committed Jan 10, 2016
1 parent f2ae491 commit 30160a17de6d35cce6f9b50f7eaac782159feabc
Showing with 0 additions and 202 deletions.
  1. +0 −2 src/core/Context.js
  2. +0 −2 src/core/ElementAllocator.js
  3. +0 −2 src/core/ElementOutput.js
  4. +0 −2 src/core/Engine.js
  5. +0 −2 src/core/Entity.js
  6. +0 −2 src/core/EventEmitter.js
  7. +0 −2 src/core/EventHandler.js
  8. +0 −2 src/core/Group.js
  9. +0 −2 src/core/Modifier.js
  10. +0 −2 src/core/OptionsManager.js
  11. +0 −2 src/core/RenderNode.js
  12. +0 −2 src/core/Scene.js
  13. +0 −2 src/core/SpecParser.js
  14. +0 −2 src/core/Surface.js
  15. +0 −2 src/core/Transform.js
  16. +0 −2 src/core/View.js
  17. +0 −2 src/core/ViewSequence.js
  18. +0 −2 src/events/EventArbiter.js
  19. +0 −2 src/events/EventFilter.js
  20. +0 −2 src/events/EventMapper.js
  21. +0 −2 src/inputs/Accumulator.js
  22. +0 −2 src/inputs/DesktopEmulationMode.js
  23. +0 −2 src/inputs/FastClick.js
  24. +0 −2 src/inputs/GenericSync.js
  25. +0 −2 src/inputs/MouseSync.js
  26. +0 −2 src/inputs/PinchSync.js
  27. +0 −2 src/inputs/RotateSync.js
  28. +0 −2 src/inputs/ScaleSync.js
  29. +0 −2 src/inputs/ScrollSync.js
  30. +0 −2 src/inputs/TouchSync.js
  31. +0 −2 src/inputs/TouchTracker.js
  32. +0 −2 src/inputs/TwoFingerSync.js
  33. +0 −2 src/math/Matrix.js
  34. +0 −2 src/math/Quaternion.js
  35. +0 −2 src/math/Random.js
  36. +0 −2 src/math/Utilities.js
  37. +0 −2 src/math/Vector.js
  38. +0 −2 src/modifiers/Draggable.js
  39. +0 −2 src/modifiers/Fader.js
  40. +0 −2 src/modifiers/ModifierChain.js
  41. +0 −2 src/modifiers/StateModifier.js
  42. +0 −2 src/physics/PhysicsEngine.js
  43. +0 −2 src/physics/bodies/Body.js
  44. +0 −2 src/physics/bodies/Circle.js
  45. +0 −2 src/physics/bodies/Particle.js
  46. +0 −2 src/physics/bodies/Rectangle.js
  47. +0 −2 src/physics/constraints/Collision.js
  48. +0 −2 src/physics/constraints/Constraint.js
  49. +0 −2 src/physics/constraints/Curve.js
  50. +0 −2 src/physics/constraints/Distance.js
  51. +0 −2 src/physics/constraints/Snap.js
  52. +0 −2 src/physics/constraints/Surface.js
  53. +0 −2 src/physics/constraints/Wall.js
  54. +0 −2 src/physics/constraints/Walls.js
  55. +0 −2 src/physics/forces/Drag.js
  56. +0 −2 src/physics/forces/Force.js
  57. +0 −2 src/physics/forces/Repulsion.js
  58. +0 −2 src/physics/forces/RotationalDrag.js
  59. +0 −2 src/physics/forces/RotationalSpring.js
  60. +0 −2 src/physics/forces/Spring.js
  61. +0 −2 src/physics/forces/VectorField.js
  62. +0 −2 src/physics/integrators/SymplecticEuler.js
  63. +0 −2 src/surfaces/CanvasSurface.js
  64. +0 −2 src/surfaces/ContainerSurface.js
  65. +0 −2 src/surfaces/FormContainerSurface.js
  66. +0 −2 src/surfaces/ImageSurface.js
  67. +0 −2 src/surfaces/InputSurface.js
  68. +0 −2 src/surfaces/SubmitInputSurface.js
  69. +0 −2 src/surfaces/TextareaSurface.js
  70. +0 −2 src/surfaces/VideoSurface.js
  71. +0 −2 src/transitions/CachedMap.js
  72. +0 −2 src/transitions/Easing.js
  73. +0 −2 src/transitions/MultipleTransition.js
  74. +0 −2 src/transitions/SnapTransition.js
  75. +0 −2 src/transitions/SpringTransition.js
  76. +0 −2 src/transitions/Transitionable.js
  77. +0 −2 src/transitions/TransitionableTransform.js
  78. +0 −2 src/transitions/TweenTransition.js
  79. +0 −2 src/transitions/WallTransition.js
  80. +0 −2 src/utilities/KeyCodes.js
  81. +0 −2 src/utilities/Timer.js
  82. +0 −2 src/utilities/Utility.js
  83. +0 −2 src/views/ContextualView.js
  84. +0 −2 src/views/Deck.js
  85. +0 −2 src/views/DrawerLayout.js
  86. +0 −2 src/views/EdgeSwapper.js
  87. +0 −2 src/views/FlexibleLayout.js
  88. +0 −2 src/views/Flipper.js
  89. +0 −2 src/views/GridLayout.js
  90. +0 −2 src/views/HeaderFooterLayout.js
  91. +0 −2 src/views/Lightbox.js
  92. +0 −2 src/views/RenderController.js
  93. +0 −2 src/views/ScrollContainer.js
  94. +0 −2 src/views/Scroller.js
  95. +0 −2 src/views/Scrollview.js
  96. +0 −2 src/views/SequentialLayout.js
  97. +0 −2 src/views/SizeAwareView.js
  98. +0 −2 src/widgets/NavigationBar.js
  99. +0 −2 src/widgets/Slider.js
  100. +0 −2 src/widgets/TabBar.js
  101. +0 −2 src/widgets/ToggleButton.js
@@ -7,7 +7,6 @@
* @copyright Famous Industries, Inc. 2015
*/

define(function(require, exports, module) {
var RenderNode = require('./RenderNode');
var EventHandler = require('./EventHandler');
var ElementAllocator = require('./ElementAllocator');
@@ -231,4 +230,3 @@ define(function(require, exports, module) {
};

module.exports = Context;
});
@@ -7,7 +7,6 @@
* @copyright Famous Industries, Inc. 2015
*/

define(function(require, exports, module) {

/**
* Internal helper object to Context that handles the process of
@@ -103,4 +102,3 @@ define(function(require, exports, module) {
};

module.exports = ElementAllocator;
});
@@ -7,7 +7,6 @@
* @copyright Famous Industries, Inc. 2015
*/

define(function(require, exports, module) {
var Entity = require('./Entity');
var EventHandler = require('./EventHandler');
var Transform = require('./Transform');
@@ -319,4 +318,3 @@ define(function(require, exports, module) {
};

module.exports = ElementOutput;
});
@@ -7,7 +7,6 @@
* @copyright Famous Industries, Inc. 2015
*/

define(function(require, exports, module) {

/**
* The singleton object initiated upon process
@@ -406,4 +405,3 @@ define(function(require, exports, module) {
});

module.exports = Engine;
});
@@ -7,7 +7,6 @@
* @copyright Famous Industries, Inc. 2015
*/

define(function(require, exports, module) {
/**
* A singleton that maintains a global registry of Surfaces.
* Private.
@@ -74,4 +73,3 @@ define(function(require, exports, module) {
get: get,
set: set
};
});
@@ -7,7 +7,6 @@
* @copyright Famous Industries, Inc. 2015
*/

define(function(require, exports, module) {
/**
* EventEmitter represents a channel for events.
*
@@ -92,4 +91,3 @@ define(function(require, exports, module) {
};

module.exports = EventEmitter;
});
@@ -7,7 +7,6 @@
* @copyright Famous Industries, Inc. 2015
*/

define(function(require, exports, module) {
var EventEmitter = require('./EventEmitter');

/**
@@ -203,4 +202,3 @@ define(function(require, exports, module) {
};

module.exports = EventHandler;
});
@@ -7,7 +7,6 @@
* @copyright Famous Industries, Inc. 2015
*/

define(function(require, exports, module) {
var Context = require('./Context');
var Transform = require('./Transform');
var Surface = require('./Surface');
@@ -121,4 +120,3 @@ define(function(require, exports, module) {
};

module.exports = Group;
});
@@ -7,7 +7,6 @@
* @copyright Famous Industries, Inc. 2015
*/

define(function(require, exports, module) {
var Transform = require('./Transform');

/* TODO: remove these dependencies when deprecation complete */
@@ -431,4 +430,3 @@ define(function(require, exports, module) {
};

module.exports = Modifier;
});
@@ -7,7 +7,6 @@
* @copyright Famous Industries, Inc. 2015
*/

define(function(require, exports, module) {
var EventHandler = require('./EventHandler');

/**
@@ -198,4 +197,3 @@ define(function(require, exports, module) {
};

module.exports = OptionsManager;
});
@@ -7,7 +7,6 @@
* @copyright Famous Industries, Inc. 2015
*/

define(function(require, exports, module) {
var Entity = require('./Entity');
var SpecParser = require('./SpecParser');

@@ -164,4 +163,3 @@ define(function(require, exports, module) {
};

module.exports = RenderNode;
});
@@ -7,7 +7,6 @@
* @copyright Famous Industries, Inc. 2015
*/

define(function(require, exports, module) {
var Transform = require('./Transform');
var Modifier = require('./Modifier');
var RenderNode = require('./RenderNode');
@@ -176,4 +175,3 @@ define(function(require, exports, module) {
};

module.exports = Scene;
});
@@ -7,7 +7,6 @@
* @copyright Famous Industries, Inc. 2015
*/

define(function(require, exports, module) {
var Transform = require('./Transform');

/**
@@ -173,4 +172,3 @@ define(function(require, exports, module) {
};

module.exports = SpecParser;
});
@@ -7,7 +7,6 @@
* @copyright Famous Industries, Inc. 2015
*/

define(function(require, exports, module) {
var ElementOutput = require('./ElementOutput');

/**
@@ -493,4 +492,3 @@ define(function(require, exports, module) {
};

module.exports = Surface;
});
@@ -7,7 +7,6 @@
* @copyright Famous Industries, Inc. 2015
*/

define(function(require, exports, module) {

/**
* A high-performance static matrix math library used to calculate
@@ -679,4 +678,3 @@ define(function(require, exports, module) {
Transform.behind = [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, -1e-3, 1];

module.exports = Transform;
});
@@ -7,7 +7,6 @@
* @copyright Famous Industries, Inc. 2015
*/

define(function(require, exports, module) {
var EventHandler = require('./EventHandler');
var OptionsManager = require('./OptionsManager');
var RenderNode = require('./RenderNode');
@@ -107,4 +106,3 @@ define(function(require, exports, module) {
};

module.exports = View;
});
@@ -7,7 +7,6 @@
* @copyright Famous Industries, Inc. 2015
*/

define(function(require, exports, module) {

/**
* Helper object used to iterate through items sequentially. Used in
@@ -335,4 +334,3 @@ define(function(require, exports, module) {
};

module.exports = ViewSequence;
});
@@ -7,7 +7,6 @@
* @copyright Famous Industries, Inc. 2015
*/

define(function(require, exports, module) {
var EventHandler = require('../core/EventHandler');

/**
@@ -81,4 +80,3 @@ define(function(require, exports, module) {
};

module.exports = EventArbiter;
});
@@ -7,7 +7,6 @@
* @copyright Famous Industries, Inc. 2015
*/

define(function(require, exports, module) {
var EventHandler = require('../core/EventHandler');

/**
@@ -54,4 +53,3 @@ define(function(require, exports, module) {
EventFilter.prototype.trigger = EventFilter.prototype.emit;

module.exports = EventFilter;
});
@@ -7,7 +7,6 @@
* @copyright Famous Industries, Inc. 2015
*/

define(function(require, exports, module) {
var EventHandler = require('../core/EventHandler');

/**
@@ -52,4 +51,3 @@ define(function(require, exports, module) {
EventMapper.prototype.trigger = EventMapper.prototype.emit;

module.exports = EventMapper;
});
@@ -1,4 +1,3 @@
define(function(require, exports, module) {
var EventHandler = require('../core/EventHandler');
var Transitionable = require('../transitions/Transitionable');

@@ -58,4 +57,3 @@ define(function(require, exports, module) {
};

module.exports = Accumulator;
});
@@ -1,4 +1,3 @@
define(function(require, exports, module) {
var hasTouch = 'ontouchstart' in window;

function kill(type) {
@@ -14,4 +13,3 @@ define(function(require, exports, module) {
kill('mouseup');
kill('mouseleave');
}
});
@@ -7,7 +7,6 @@
* @copyright Famous Industries, Inc. 2015
*/

define(function(require, exports, module) {
/**
* FastClick is an override shim which maps event pairs of
* 'touchstart' and 'touchend' which differ by less than a certain
@@ -65,4 +64,3 @@ define(function(require, exports, module) {
}
}, true);
})();
});
@@ -6,7 +6,6 @@
* @license MPL 2.0
* @copyright Famous Industries, Inc. 2015
*/
define(function(require, exports, module) {

var EventHandler = require('../core/EventHandler');

@@ -122,4 +121,3 @@ define(function(require, exports, module) {
};

module.exports = GenericSync;
});
@@ -6,7 +6,6 @@
* @license MPL 2.0
* @copyright Famous Industries, Inc. 2015
*/
define(function(require, exports, module) {
var EventHandler = require('../core/EventHandler');
var OptionsManager = require('../core/OptionsManager');

@@ -298,4 +297,3 @@ define(function(require, exports, module) {
};

module.exports = MouseSync;
});
@@ -6,7 +6,6 @@
* @license MPL 2.0
* @copyright Famous Industries, Inc. 2015
*/
define(function(require, exports, module) {
var TwoFingerSync = require('./TwoFingerSync');
var OptionsManager = require('../core/OptionsManager');

@@ -95,4 +94,3 @@ define(function(require, exports, module) {
};

module.exports = PinchSync;
});
@@ -6,7 +6,6 @@
* @license MPL 2.0
* @copyright Famous Industries, Inc. 2015
*/
define(function(require, exports, module) {
var TwoFingerSync = require('./TwoFingerSync');
var OptionsManager = require('../core/OptionsManager');

@@ -96,4 +95,3 @@ define(function(require, exports, module) {
};

module.exports = RotateSync;
});
@@ -6,7 +6,6 @@
* @license MPL 2.0
* @copyright Famous Industries, Inc. 2015
*/
define(function(require, exports, module) {
var TwoFingerSync = require('./TwoFingerSync');
var OptionsManager = require('../core/OptionsManager');

@@ -103,4 +102,3 @@ define(function(require, exports, module) {
};

module.exports = ScaleSync;
});
@@ -6,7 +6,6 @@
* @license MPL 2.0
* @copyright Famous Industries, Inc. 2015
*/
define(function(require, exports, module) {
var EventHandler = require('../core/EventHandler');
var Engine = require('../core/Engine');
var OptionsManager = require('../core/OptionsManager');
@@ -194,4 +193,3 @@ define(function(require, exports, module) {
};

module.exports = ScrollSync;
});
@@ -6,7 +6,6 @@
* @license MPL 2.0
* @copyright Famous Industries, Inc. 2015
*/
define(function(require, exports, module) {
var TouchTracker = require('./TouchTracker');
var EventHandler = require('../core/EventHandler');
var OptionsManager = require('../core/OptionsManager');
@@ -218,4 +217,3 @@ define(function(require, exports, module) {
};

module.exports = TouchSync;
});
@@ -6,7 +6,6 @@
* @license MPL 2.0
* @copyright Famous Industries, Inc. 2015
*/
define(function(require, exports, module) {
var EventHandler = require('../core/EventHandler');

var _now = Date.now;
@@ -121,4 +120,3 @@ define(function(require, exports, module) {
};

module.exports = TouchTracker;
});
Oops, something went wrong.

0 comments on commit 30160a1

Please sign in to comment.