photonstorm/phaser — pull request #531 by brejep (2014-03-09 22:19:31+00:00)
Title: Make Phaser work with requirejs

Changing the define function calls to use named modules - as this allows all 3 to reside in 1 file and still be located by requirejs.

Also, making the p2 and PIXI modules available globally when define.amd is found. That way they work with Phaser.