Skip to content

Commit

Permalink
ensure that phaser never overrides an existing pixi class
Browse files Browse the repository at this point in the history
  • Loading branch information
georgiee committed May 11, 2014
1 parent 63ca126 commit 0384916
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 0384916

Please sign in to comment.