diff options
| author | Vojta Jina | 2013-10-22 14:41:21 -0700 | 
|---|---|---|
| committer | Vojta Jina | 2013-10-22 15:32:41 -0700 | 
| commit | f2fab498303e00d199cb3d19a008670e214d5c10 (patch) | |
| tree | 3aa88fdb1f63bbed45c7541232a0fdfac226c126 /src/ngTouch/directive | |
| parent | 934a95d3ef3f72dfc37b0b564624cb4a1286d4f4 (diff) | |
| download | angular.js-f2fab498303e00d199cb3d19a008670e214d5c10.tar.bz2 | |
style: make jshint happy
Diffstat (limited to 'src/ngTouch/directive')
| -rw-r--r-- | src/ngTouch/directive/ngClick.js | 2 | ||||
| -rw-r--r-- | src/ngTouch/directive/ngSwipe.js | 8 | 
2 files changed, 8 insertions, 2 deletions
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.   *  | 
