fix(upgrade): replaces get/setAngularLib with get/setAngularJSGlobal

The current names are confusing because Angular should refer to the latest version of the framework.
This commit is contained in:
vsavkin
2017-05-09 13:55:38 -04:00
committed by Alex Rickabaugh
parent 82bcd83566
commit 057513536b
4 changed files with 30 additions and 9 deletions

View File

@ -12,7 +12,7 @@
* Entry point for all public APIs of this package. allowing
* Angular 1 and Angular 2+ to run side by side in the same application.
*/
export {getAngularLib, setAngularLib} from './src/common/angular1';
export {getAngularJSGlobal, getAngularLib, setAngularJSGlobal, setAngularLib} from './src/common/angular1';
export {downgradeComponent} from './src/common/downgrade_component';
export {downgradeInjectable} from './src/common/downgrade_injectable';
export {VERSION} from './src/common/version';
@ -20,4 +20,5 @@ export {downgradeModule} from './src/static/downgrade_module';
export {UpgradeComponent} from './src/static/upgrade_component';
export {UpgradeModule} from './src/static/upgrade_module';
// This file only re-exports content of the `src` folder. Keep it that way.