mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
chore(wtf): prefix wtf with ionic.
This commit is contained in:
@@ -659,7 +659,7 @@ export class NavController extends Ion {
|
||||
return done(enteringView);
|
||||
}
|
||||
|
||||
let wtfScope = wtfCreateScope('NavController#_transition()')();
|
||||
let wtfScope = wtfCreateScope('ionic.NavController#_transition()')();
|
||||
|
||||
if (!opts.animation) {
|
||||
opts.animation = this.config.get('pageTransition');
|
||||
@@ -759,7 +759,7 @@ export class NavController extends Ion {
|
||||
* @private
|
||||
*/
|
||||
_stage(viewCtrl, opts, done) {
|
||||
let wtfScope = wtfCreateScope('NavController#_stage()')();
|
||||
let wtfScope = wtfCreateScope('ionic.NavController#_stage()')();
|
||||
|
||||
if (viewCtrl.isLoaded() || viewCtrl.shouldDestroy) {
|
||||
// already compiled this view
|
||||
@@ -789,7 +789,7 @@ export class NavController extends Ion {
|
||||
* @private
|
||||
*/
|
||||
loadPage(viewCtrl, navbarContainerRef, opts, done) {
|
||||
let wtfScope = wtfCreateScope('NavController#loadPage()')();
|
||||
let wtfScope = wtfCreateScope('ionic.NavController#loadPage()')();
|
||||
|
||||
// guts of DynamicComponentLoader#loadIntoLocation
|
||||
this._compiler.compileInHost(viewCtrl.componentType).then(hostProtoViewRef => {
|
||||
@@ -1120,7 +1120,7 @@ export class NavController extends Ion {
|
||||
|
||||
this._cleanup();
|
||||
|
||||
wtfScope && wtfLeave(wtfScope);
|
||||
wtfLeave(wtfScope);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -177,7 +177,7 @@ export class Tabs extends Ion {
|
||||
return this._touchActive(selectedTab);
|
||||
}
|
||||
|
||||
let wtfScope = wtfCreateScope('Tabs#select()')();
|
||||
let wtfScope = wtfCreateScope('ionic.Tabs#select()')();
|
||||
|
||||
let opts = {
|
||||
animate: false
|
||||
@@ -206,7 +206,7 @@ export class Tabs extends Ion {
|
||||
this._onReady();
|
||||
this._onReady = null;
|
||||
}
|
||||
|
||||
|
||||
wtfLeave(wtfScope);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -139,7 +139,7 @@ export function App(args={}) {
|
||||
// redefine with added annotations
|
||||
Reflect.defineMetadata('annotations', annotations, cls);
|
||||
|
||||
let wtfScope = wtfCreateScope('IonicBootstrap')();
|
||||
let wtfScope = wtfCreateScope('ionic.bootstrap')();
|
||||
bootstrap(cls, ionicProviders(args)).then(appRef => {
|
||||
let tc = appRef.injector.get(TapClick);
|
||||
wtfLeave(wtfScope);
|
||||
|
||||
Reference in New Issue
Block a user