Logo
Explore Help
Sign In
honeymoose/angular-cn
1
0
Fork 0
You've already forked angular-cn
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
angular-cn/packages/common/upgrade/src/index.ts

12 lines
448 B
TypeScript
Raw Normal View History

feat(common): add @angular/common/upgrade package for $location-related APIs (#30055) AngularJS's `$location` service doesn't have a direct counterpart in Angular. This is largely because the `Location` service in Angular was pulled out of the `Router`, but was not purpose-built to stand on its own. This commit adds a new `@angular/common/upgrade` package with the beginnings of a new `LocationUpgradeService`. This service will more closely match the API of AngularJS and provide a way to replace the `$location` service from AngularJS. PR Close #30055
2019-02-11 14:18:29 -08:00
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
fix(common): add upgrade sub-package to ng_package rule for @angular/common (#30117) Follow-up to #30055 to include @angular/common/upgrade in the npm package Closes #30116 PR Close #30117
2019-04-25 09:36:49 -05:00
export {$locationShim, $locationShimProvider} from './location_shim';
export {LOCATION_UPGRADE_CONFIGURATION, LocationUpgradeConfig, LocationUpgradeModule} from './location_upgrade_module';
export {AngularJSUrlCodec, UrlCodec} from './params';
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 90ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API