Moved constructors

This commit is contained in:
Richard Davey 2017-06-28 17:17:31 +01:00
parent 2f605250b3
commit 8952c1d578
3 changed files with 9 additions and 9 deletions

View file

@ -5,17 +5,17 @@ var Device = require('../device');
var AddToDOM = require('../dom/AddToDOM'); var AddToDOM = require('../dom/AddToDOM');
var DOMContentLoaded = require('../dom/DOMContentLoaded'); var DOMContentLoaded = require('../dom/DOMContentLoaded');
var VisibilityHandler = require('./VisibilityHandler');
var EventDispatcher = require('../events/EventDispatcher'); var EventDispatcher = require('../events/EventDispatcher');
var VisibilityHandler = require('./VisibilityHandler');
var TimeStep = require('./TimeStep'); var AnimationManager = require('../animation/manager/AnimationManager');
var Cache = require('../cache/Cache');
var CreateRenderer = require('./CreateRenderer'); var CreateRenderer = require('./CreateRenderer');
var Data = require('../components/Data');
var GlobalInputManager = require('../input/GlobalInputManager'); var GlobalInputManager = require('../input/GlobalInputManager');
var GlobalStateManager = require('../state/GlobalStateManager'); var GlobalStateManager = require('../state/GlobalStateManager');
var AnimationManager = require('../animation/manager/AnimationManager');
var TextureManager = require('../textures/TextureManager'); var TextureManager = require('../textures/TextureManager');
var Data = require('../components/Data'); var TimeStep = require('./TimeStep');
var Cache = require('../cache/Cache');
var Game = function (config) var Game = function (config)
{ {

View file

@ -23,8 +23,6 @@ var Map = function (elements)
} }
}; };
Map.prototype.constructor = Map;
Map.prototype = { Map.prototype = {
set: function (key, value) set: function (key, value)
@ -163,4 +161,6 @@ Map.prototype = {
} }
}; };
Map.prototype.constructor = Map;
module.exports = Map; module.exports = Map;

View file

@ -13,8 +13,6 @@ var Set = function (elements)
} }
}; };
Set.prototype.constructor = Set;
Set.prototype = { Set.prototype = {
set: function (value) set: function (value)
@ -177,4 +175,6 @@ Object.defineProperties(Set.prototype, {
}); });
Set.prototype.constructor = Set;
module.exports = Set; module.exports = Set;