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 ++++++-- src/ngTouch/swipe.js | 2 ++ src/ngTouch/touch.js | 1 + 4 files changed, 11 insertions(+), 2 deletions(-) (limited to 'src/ngTouch') 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. * diff --git a/src/ngTouch/swipe.js b/src/ngTouch/swipe.js index 4ad58121..afdf4384 100644 --- a/src/ngTouch/swipe.js +++ b/src/ngTouch/swipe.js @@ -1,5 +1,7 @@ 'use strict'; +/* global ngTouch: false */ + /** * @ngdoc object * @name ngTouch.$swipe diff --git a/src/ngTouch/touch.js b/src/ngTouch/touch.js index 0e9229b2..e785d82e 100644 --- a/src/ngTouch/touch.js +++ b/src/ngTouch/touch.js @@ -18,5 +18,6 @@ */ // define ngTouch module +/* global -ngTouch */ var ngTouch = angular.module('ngTouch', []); -- cgit v1.2.3