Skip to content

Commit

Permalink
Merge pull request phaserjs#818 from georgiee/fix-intercative-pixi
Browse files Browse the repository at this point in the history
Do not overwrite PIXI.InteractionManager so I can use PIXI standalone with Phaser on the same page
  • Loading branch information
photonstorm committed May 13, 2014
2 parents 63ca126 + d032d71 commit 6dfb09d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/Phaser.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,8 @@ var Phaser = Phaser || {

};

PIXI.InteractionManager = function () {
// We don't need this in Pixi, so we've removed it to save space
// however the Stage object expects a reference to it, so here is a dummy entry.
};
// We don't need this in Pixi, so we've removed it to save space
// however the Stage object expects a reference to it, so here is a dummy entry.
// Ensure that an existing PIXI.InteractionManager is not overriden- in case you're using your own PIXI library.

PIXI.InteractionManager = PIXI.InteractionManager || {};

0 comments on commit 6dfb09d

Please sign in to comment.