Skip to content

Commit

Permalink
See pixijs#2662 --- bending to the will of eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
starakaj committed Nov 17, 2016
1 parent cd96208 commit 110abc7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/interaction/InteractionManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -1340,8 +1340,10 @@ export default class InteractionManager extends EventEmitter
if (hit)
{
displayObject._touchDown = true;
if(typeof displayObject._touchCount === "undefined")
if (typeof displayObject._touchCount === 'undefined')
{
displayObject._touchCount = 0;
}
displayObject._touchCount ++;
this.dispatchEvent(displayObject, 'touchstart', this.eventData);
}
Expand Down

0 comments on commit 110abc7

Please sign in to comment.