Skip to content

Commit

Permalink
derpy mcderp
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanpopelyshev committed Jan 6, 2018
1 parent 35547d3 commit d6af45c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/display/test/Stage.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,14 +189,14 @@ describe('PIXI.Stage', function ()

let counter = 0;

animated1.animate = () => { counter++; };
animated2.animate = () =>
animated1.onAnimate = () => { counter++; };
animated2.onAnimate = () =>
{
counter += 2;
stage1.removeChild(animated2);
};
animated3.animate = () => { counter += 4; };
animated4.animate = () => { counter += 8; };
animated3.onAnimate = () => { counter += 4; };
animated4.onAnimate = () => { counter += 8; };

stage1.addChild(animated1, animated2, animated3);
animated3.addChild(animated4);
Expand Down

0 comments on commit d6af45c

Please sign in to comment.