diff --git a/src/core/const.js b/src/core/const.js index 773a4d8..60c1833 100644 --- a/src/core/const.js +++ b/src/core/const.js @@ -1,9 +1,9 @@ /** * Constant values used in pixi - * + * @class * @memberof PIXI */ -module.exports = { +var CONST = { /** * String of the current PIXI version * @@ -191,3 +191,5 @@ // TODO: maybe add PARTICLE.BATCH_SIZE: 15000 SPRITE_BATCH_SIZE: 2000 //nice balance between mobile and desktop machines }; + +module.exports = CONST; diff --git a/src/core/const.js b/src/core/const.js index 773a4d8..60c1833 100644 --- a/src/core/const.js +++ b/src/core/const.js @@ -1,9 +1,9 @@ /** * Constant values used in pixi - * + * @class * @memberof PIXI */ -module.exports = { +var CONST = { /** * String of the current PIXI version * @@ -191,3 +191,5 @@ // TODO: maybe add PARTICLE.BATCH_SIZE: 15000 SPRITE_BATCH_SIZE: 2000 //nice balance between mobile and desktop machines }; + +module.exports = CONST; diff --git a/src/core/renderers/canvas/utils/CanvasGraphics.js b/src/core/renderers/canvas/utils/CanvasGraphics.js index 6e96deb..4324e60 100644 --- a/src/core/renderers/canvas/utils/CanvasGraphics.js +++ b/src/core/renderers/canvas/utils/CanvasGraphics.js @@ -6,7 +6,7 @@ * @class * @memberof PIXI */ -var CanvasGraphics = module.exports = {}; +var CanvasGraphics ={}; /* * Renders a Graphics object to a canvas. diff --git a/src/core/const.js b/src/core/const.js index 773a4d8..60c1833 100644 --- a/src/core/const.js +++ b/src/core/const.js @@ -1,9 +1,9 @@ /** * Constant values used in pixi - * + * @class * @memberof PIXI */ -module.exports = { +var CONST = { /** * String of the current PIXI version * @@ -191,3 +191,5 @@ // TODO: maybe add PARTICLE.BATCH_SIZE: 15000 SPRITE_BATCH_SIZE: 2000 //nice balance between mobile and desktop machines }; + +module.exports = CONST; diff --git a/src/core/renderers/canvas/utils/CanvasGraphics.js b/src/core/renderers/canvas/utils/CanvasGraphics.js index 6e96deb..4324e60 100644 --- a/src/core/renderers/canvas/utils/CanvasGraphics.js +++ b/src/core/renderers/canvas/utils/CanvasGraphics.js @@ -6,7 +6,7 @@ * @class * @memberof PIXI */ -var CanvasGraphics = module.exports = {}; +var CanvasGraphics ={}; /* * Renders a Graphics object to a canvas. diff --git a/src/core/renderers/canvas/utils/CanvasTinter.js b/src/core/renderers/canvas/utils/CanvasTinter.js index fe59b27..8bcf7bf 100644 --- a/src/core/renderers/canvas/utils/CanvasTinter.js +++ b/src/core/renderers/canvas/utils/CanvasTinter.js @@ -6,7 +6,7 @@ * @class * @memberof PIXI */ -var CanvasTinter = module.exports = {}; +var CanvasTinter = {}; /** * Basically this method just needs a sprite and a color and tints the sprite with the given color.