mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 15:40:22 +00:00
Currently, the documentation does a bad job of explaining the distinction between the services that it provides,
and the module itself. Furthermore, the instructions for using optional modules are inconsistent or missing.
This commit addresses the problem by ading a new `{@installModule foo}` annotation to the docs generator that
inlines the appropriate instructions based on the name of the module.
22 lines
498 B
JavaScript
22 lines
498 B
JavaScript
'use strict';
|
|
|
|
/**
|
|
* @ngdoc overview
|
|
* @name ngTouch
|
|
* @description
|
|
*
|
|
* # ngTouch
|
|
*
|
|
* `ngTouch` is the name of the optional Angular module that provides touch events and other
|
|
* helpers for touch-enabled devices.
|
|
* The implementation is based on jQuery Mobile touch event handling
|
|
* ([jquerymobile.com](http://jquerymobile.com/))
|
|
*
|
|
* {@installModule touch}
|
|
*
|
|
* See {@link ngTouch.$swipe `$swipe`} for usage.
|
|
*/
|
|
|
|
// define ngTouch module
|
|
var ngTouch = angular.module('ngTouch', []);
|
|
|