From abf482f6622915c31044a9c133dfb2af6f238624 Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Mon, 30 Nov 2015 20:52:48 -0600 Subject: [PATCH] chore(wtf): prefix wtf with ionic. --- ionic/components/nav/nav-controller.ts | 8 ++++---- ionic/components/tabs/tabs.ts | 4 ++-- ionic/config/decorators.ts | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ionic/components/nav/nav-controller.ts b/ionic/components/nav/nav-controller.ts index c88f461697..5e554f3db4 100644 --- a/ionic/components/nav/nav-controller.ts +++ b/ionic/components/nav/nav-controller.ts @@ -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); } /** diff --git a/ionic/components/tabs/tabs.ts b/ionic/components/tabs/tabs.ts index 12e97ea62d..c3ea7b813c 100644 --- a/ionic/components/tabs/tabs.ts +++ b/ionic/components/tabs/tabs.ts @@ -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); }); } diff --git a/ionic/config/decorators.ts b/ionic/config/decorators.ts index 76b0d25d92..1f24f42a43 100644 --- a/ionic/config/decorators.ts +++ b/ionic/config/decorators.ts @@ -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);