diff --git a/src/pixi/Outro.js b/src/pixi/Outro.js index c9ff11b..bf38bbc 100644 --- a/src/pixi/Outro.js +++ b/src/pixi/Outro.js @@ -1,15 +1,15 @@ -/** - * @author Mat Groves http://matgroves.com/ @Doormat23 - */ - - if (typeof exports !== 'undefined') { - if (typeof module !== 'undefined' && module.exports) { - exports = module.exports = PIXI; - } - exports.PIXI = PIXI; - } else { - root.PIXI = PIXI; - } - - +/** + * @author Mat Groves http://matgroves.com/ @Doormat23 + */ + + if (typeof exports !== 'undefined') { + if (typeof module !== 'undefined' && module.exports) { + exports = module.exports = PIXI; + } + exports.PIXI = PIXI; + } else if (typeof define !== 'undefined' && define.amd) { + define(PIXI); + } else { + root.PIXI = PIXI; + } }).call(this); \ No newline at end of file