Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 04cceb3

Browse files
committed
fixup! remove touch service too
1 parent 25f49ad commit 04cceb3

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

src/ngTouch/touch.js

+2-15
Original file line numberDiff line numberDiff line change
@@ -47,24 +47,11 @@ function $TouchProvider() {
4747
* @kind object
4848
*
4949
* @description
50-
* Provides the legacy {@link ngTouch.$touch#ngClickOverrideEnabled `ngClickOverrideEnabled`} method.
51-
*
50+
* The `$touch` service currently has no contents.
5251
*/
5352
// eslint-disable-next-line no-invalid-this
5453
this.$get = function() {
55-
return {
56-
/**
57-
* @ngdoc method
58-
* @name $touch#ngClickOverrideEnabled
59-
* *
60-
* @returns {*} `false` as of AngularJS 1.7.0
61-
*
62-
* @kind function
63-
*/
64-
ngClickOverrideEnabled: function() {
65-
return false;
66-
}
67-
};
54+
return {};
6855
};
6956

7057
}

0 commit comments

Comments
 (0)