docs(ngClick): improve style

This commit is contained in:
Erin Altenhof-Long
2014-05-28 17:19:17 -07:00
committed by Brian Ford
parent 279f00b05b
commit 0dbec22bc7

View File

@@ -71,7 +71,7 @@ ngTouch.directive('ngClick', ['$parse', '$timeout', '$rootElement',
//
// What happens when the browser then generates a click event?
// The browser, of course, also detects the tap and fires a click after a delay. This results in
// tapping/clicking twice. So we do "clickbusting" to prevent it.
// tapping/clicking twice. We do "clickbusting" to prevent it.
//
// How does it work?
// We attach global touchstart and click handlers, that run during the capture (early) phase.