mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-13 22:39:59 +08:00
style(ngTouch): make lint happy
This commit is contained in:
@@ -95,8 +95,8 @@ ngTouch.directive('ngClick', ['$parse', '$timeout', '$rootElement',
|
||||
//
|
||||
// Why not just put click handlers on the element?
|
||||
// We do that too, just to be sure. If the tap event caused the DOM to change,
|
||||
// it is possible another element is now in that position. To take account for these possibly distinct elements,
|
||||
// the handlers are global and care only about coordinates.
|
||||
// it is possible another element is now in that position. To take account for these possibly
|
||||
// distinct elements, the handlers are global and care only about coordinates.
|
||||
|
||||
// Checks if the coordinates are close enough to be within the region.
|
||||
function hit(x1, y1, x2, y2) {
|
||||
|
||||
Reference in New Issue
Block a user