refactor(WTF): rename scopes to follow coding conventions

This commit is contained in:
Victor Berchet
2015-08-24 17:01:07 -07:00
parent c349bbbc08
commit b29b045d78
5 changed files with 30 additions and 30 deletions

View File

@ -32,7 +32,7 @@ import {wtfLeave, wtfCreateScope, WtfScopeFn} from '../profile/profile';
*/
@Injectable()
export class LifeCycle {
static _scope_tick: WtfScopeFn = wtfCreateScope('LifeCycle#tick()');
static _tickScope: WtfScopeFn = wtfCreateScope('LifeCycle#tick()');
_changeDetector: ChangeDetector;
_enforceNoNewChanges: boolean;
@ -74,7 +74,7 @@ export class LifeCycle {
throw new BaseException("LifeCycle.tick is called recursively");
}
var s = LifeCycle._scope_tick();
var s = LifeCycle._tickScope();
try {
this._runningTick = true;
this._changeDetector.detectChanges();