From f2fab498303e00d199cb3d19a008670e214d5c10 Mon Sep 17 00:00:00 2001 From: Vojta Jina Date: Tue, 22 Oct 2013 14:41:21 -0700 Subject: style: make jshint happy --- src/ngTouch/directive/ngClick.js | 2 ++ src/ngTouch/directive/ngSwipe.js | 8 ++++++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'src/ngTouch/directive') diff --git a/src/ngTouch/directive/ngClick.js b/src/ngTouch/directive/ngClick.js index 7dcc4041..10ae3efc 100644 --- a/src/ngTouch/directive/ngClick.js +++ b/src/ngTouch/directive/ngClick.js @@ -1,5 +1,7 @@ 'use strict'; +/* global ngTouch: false */ + /** * @ngdoc directive * @name ngTouch.directive:ngClick diff --git a/src/ngTouch/directive/ngSwipe.js b/src/ngTouch/directive/ngSwipe.js index 7a468374..bda37fe9 100644 --- a/src/ngTouch/directive/ngSwipe.js +++ b/src/ngTouch/directive/ngSwipe.js @@ -1,5 +1,7 @@ 'use strict'; +/* global ngTouch: false */ + /** * @ngdoc directive * @name ngTouch.directive:ngSwipeLeft @@ -7,7 +9,8 @@ * @description * Specify custom behavior when an element is swiped to the left on a touchscreen device. * A leftward swipe is a quick, right-to-left slide of the finger. - * Though ngSwipeLeft is designed for touch-based devices, it will work with a mouse click and drag too. + * Though ngSwipeLeft is designed for touch-based devices, it will work with a mouse click and drag + * too. * * Requires the {@link ngTouch `ngTouch`} module to be installed. * @@ -36,7 +39,8 @@ * @description * Specify custom behavior when an element is swiped to the right on a touchscreen device. * A rightward swipe is a quick, left-to-right slide of the finger. - * Though ngSwipeRight is designed for touch-based devices, it will work with a mouse click and drag too. + * Though ngSwipeRight is designed for touch-based devices, it will work with a mouse click and drag + * too. * * Requires the {@link ngTouch `ngTouch`} module to be installed. * -- cgit v1.2.3