mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-13 17:23:11 +00:00
fix older release notes
This commit is contained in:
parent
7eea26323b
commit
df1d222dd0
1 changed files with 13 additions and 10 deletions
23
CHANGELOG.md
23
CHANGELOG.md
|
|
@ -77,18 +77,21 @@ with the `$route` service
|
||||||
(e.g. `ng:init="$location = $service('$location'), ...`) in the view or more correctly create
|
(e.g. `ng:init="$location = $service('$location'), ...`) in the view or more correctly create
|
||||||
a service like this:
|
a service like this:
|
||||||
|
|
||||||
angular.service('published-svc-shim', function() {
|
angular.service('published-svc-shim', function($location, $route, $cookies, $window,
|
||||||
this.$location = this.$service('$location');
|
$document, $exceptionHandler, $invalidWidgets) {
|
||||||
this.$route = this.$service('$route');
|
this.$location = $location;
|
||||||
this.$cookies = this.$service('$cookies');
|
this.$route = $route;
|
||||||
this.$window = this.$service('$window');
|
this.$cookies = $cookies;
|
||||||
this.$document = this.$service('$document');
|
this.$window = $window;
|
||||||
this.$exceptionHandler = this.$service('$exceptionHandler');
|
this.$document = $document;
|
||||||
this.$invalidWidgets = this.$service('$invalidWidgets');
|
this.$exceptionHandler = $exceptionHandler;
|
||||||
}, {$eager: true});
|
this.$invalidWidgets = $invalidWidgets;
|
||||||
|
}, {$inject: ['$location', '$route', '$cookies', '$window', '$document', '$exceptionHandler',
|
||||||
|
'$invalidWidgets'],
|
||||||
|
$eager: true});
|
||||||
|
|
||||||
- In the light of the `eager-published` change, to complete the cleanup we renamed `$creation`
|
- In the light of the `eager-published` change, to complete the cleanup we renamed `$creation`
|
||||||
property of services to `eager` with its value being a boolean.
|
property of services to `$eager` with its value being a boolean.
|
||||||
To transition, please rename all `$creation: 'eager'` declarations to `$eager: true`.
|
To transition, please rename all `$creation: 'eager'` declarations to `$eager: true`.
|
||||||
(commit 1430c6d6)
|
(commit 1430c6d6)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue