Skip to content

Commit b0aab4c

Browse files
committed
fixup! remove touch service too
1 parent f641484 commit b0aab4c

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
@@ -45,24 +45,11 @@ function $TouchProvider() {
4545
* @kind object
4646
*
4747
* @description
48-
* Provides the legacy {@link ngTouch.$touch#ngClickOverrideEnabled `ngClickOverrideEnabled`} method.
49-
*
48+
* The `$touch` service currently has no contents.
5049
*/
5150
// eslint-disable-next-line no-invalid-this
5251
this.$get = function() {
53-
return {
54-
/**
55-
* @ngdoc method
56-
* @name $touch#ngClickOverrideEnabled
57-
* *
58-
* @returns {*} `false` as of AngularJS 1.7.0
59-
*
60-
* @kind function
61-
*/
62-
ngClickOverrideEnabled: function() {
63-
return false;
64-
}
65-
};
52+
return {};
6653
};
6754

6855
}

0 commit comments

Comments
 (0)