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

Commit 24471cf

Browse files
Narretzpetebacondarwin
authored andcommitted
docs(*): add more info about deprecation versions
1 parent 8d644bd commit 24471cf

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

src/ng/controller.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,13 @@ function $ControllerProvider() {
5858
/**
5959
* @ngdoc method
6060
* @name $controllerProvider#allowGlobals
61-
* @description If called, allows `$controller` to find controller constructors on `window`
61+
*
62+
* @deprecated
63+
* sinceVersion="v1.3.0"
64+
* removeVersion="v1.7.0"
65+
* This method of finding controllers has been deprecated.
66+
*
67+
* @description If called, allows `$controller` to find controller constructors on `window` *
6268
*/
6369
this.allowGlobals = function() {
6470
globals = true;

src/ng/http.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,10 @@ function $HttpProvider() {
346346
* @name $httpProvider#useLegacyPromiseExtensions
347347
* @description
348348
*
349-
* _Deprecated_ - This method will be removed in v1.6.0 along with the legacy promise methods.
349+
* @deprecated
350+
* sinceVersion="v1.4.4"
351+
* removeVersion="v1.6.0"
352+
* This method will be removed in v1.6.0 along with the legacy promise methods.
350353
*
351354
* Configure `$http` service to return promises without the shorthand methods `success` and `error`.
352355
* This should be used to make sure that applications work without these methods.
@@ -501,7 +504,8 @@ function $HttpProvider() {
501504
*
502505
* ## Deprecation Notice
503506
* <div class="alert alert-danger">
504-
* The `$http` legacy promise methods `success` and `error` have been deprecated.
507+
* The `$http` legacy promise methods `success` and `error` have been deprecated and will be
508+
* removed in v1.6.0.
505509
* Use the standard `then` method instead.
506510
* If {@link $httpProvider#useLegacyPromiseExtensions `$httpProvider.useLegacyPromiseExtensions`} is set to
507511
* `false` then these methods will throw {@link $http:legacy `$http/legacy`} error.

src/ngCookies/cookieStore.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ angular.module('ngCookies').
55
* @ngdoc service
66
* @name $cookieStore
77
* @deprecated
8+
* sinceVersion="v1.4.0"
89
* Please use the {@link ngCookies.$cookies `$cookies`} service instead.
910
*
1011
* @requires $cookies

src/ngTouch/directive/ngClick.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
* @ngdoc directive
99
* @name ngClick
1010
* @deprecated
11-
* Beginning with Angular 1.5, this directive is deprecated and by default **disabled**.
11+
* sinceVersion="v1.5.0"
12+
* This directive is deprecated and **disabled** by default.
1213
* The directive will receive no further support and might be removed from future releases.
1314
* If you need the directive, you can enable it with the {@link ngTouch.$touchProvider $touchProvider#ngClickOverrideEnabled}
1415
* function. We also recommend that you migrate to [FastClick](https://github.com/ftlabs/fastclick).

0 commit comments

Comments
 (0)