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

Commit d79f9b3

Browse files
docs(*): fix up deprecation notices
1 parent f56926a commit d79f9b3

File tree

4 files changed

+14
-16
lines changed

4 files changed

+14
-16
lines changed

src/ng/controller.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ function $ControllerProvider() {
6161
* @description If called, allows `$controller` to find controller constructors on `window`
6262
*
6363
* @deprecated
64-
* This method of finding controllers has been deprecated. This will be removed in 1.7.
64+
* removeVersion="v1.7"
65+
* This method of finding controllers has been deprecated.
6566
*/
6667
this.allowGlobals = function() {
6768
globals = true;

src/ngComponentRouter/Router.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
/**
22
* @ngdoc module
33
* @name ngComponentRouter
4-
* @installation
4+
* @deprecated
5+
* In an effort to keep synchronized with router changes in Angular 2, this implementation of the
6+
* Component Router (ngComponentRouter module) has been deprecated and will not receive further updates.
57
*
6-
* <div class="alert alert-info">
7-
* **Deprecation Notice:** In an effort to keep synchronized with router changes in Angular 2, this implementation of the Component Router (ngComponentRouter module) has been deprecated and will not receive further updates.
8-
* We are investigating backporting the Angular 2 Router to Angular 1, but alternatively, use the {@link ngRoute} module or community developed projects (e.g. [ui-router](https://github.com/angular-ui/ui-router)).
9-
* </div>
8+
* We are investigating backporting the Angular 2 Router to Angular 1, but alternatively, use the
9+
* {@link ngRoute} module or community developed projects (e.g. [ui-router](https://github.com/angular-ui/ui-router)).
10+
*
11+
* @installation
1012
*
1113
* Currently, the **Component Router** module must be installed via `npm`, it is not yet available
1214
* on Bower or the Google CDN.

src/ngCookies/cookieStore.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ angular.module('ngCookies').
55
* @ngdoc service
66
* @name $cookieStore
77
* @deprecated
8+
* Please use the {@link ngCookies.$cookies `$cookies`} service instead.
9+
*
810
* @requires $cookies
911
*
1012
* @description
@@ -14,11 +16,6 @@ angular.module('ngCookies').
1416
*
1517
* Requires the {@link ngCookies `ngCookies`} module to be installed.
1618
*
17-
* <div class="alert alert-danger">
18-
* **Note:** The $cookieStore service is **deprecated**.
19-
* Please use the {@link ngCookies.$cookies `$cookies`} service instead.
20-
* </div>
21-
*
2219
* @example
2320
*
2421
* ```js

src/ngTouch/directive/ngClick.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,14 @@
88
* @ngdoc directive
99
* @name ngClick
1010
* @deprecated
11-
*
12-
* @description
13-
* <div class="alert alert-danger">
14-
* **DEPRECATION NOTICE**: Beginning with Angular 1.5, this directive is deprecated and by default **disabled**.
11+
* Beginning with Angular 1.5, this directive is deprecated and by default **disabled**.
1512
* The directive will receive no further support and might be removed from future releases.
1613
* If you need the directive, you can enable it with the {@link ngTouch.$touchProvider $touchProvider#ngClickOverrideEnabled}
1714
* function. We also recommend that you migrate to [FastClick](https://github.com/ftlabs/fastclick).
1815
* To learn more about the 300ms delay, this [Telerik article](http://developer.telerik.com/featured/300-ms-click-delay-ios-8/)
1916
* gives a good overview.
20-
* </div>
17+
*
18+
* @description
2119
* A more powerful replacement for the default ngClick designed to be used on touchscreen
2220
* devices. Most mobile browsers wait about 300ms after a tap-and-release before sending
2321
* the click event. This version handles them immediately, and then prevents the

0 commit comments

Comments
 (0)