@@ -84,7 +84,7 @@ export class AppViewManager {
8484 return this . _utils . getComponentInstance ( hostView , boundElementIndex ) ;
8585 }
8686
87- _scope_createRootHostView : WtfScopeFn = wtfCreateScope ( 'AppViewManager#createRootHostView()' ) ;
87+ _createRootHostViewScope : WtfScopeFn = wtfCreateScope ( 'AppViewManager#createRootHostView()' ) ;
8888 /**
8989 * Load component view into existing element.
9090 *
@@ -141,7 +141,7 @@ export class AppViewManager {
141141 */
142142 createRootHostView ( hostProtoViewRef : ProtoViewRef , overrideSelector : string ,
143143 injector : Injector ) : HostViewRef {
144- var s = this . _scope_createRootHostView ( ) ;
144+ var s = this . _createRootHostViewScope ( ) ;
145145 var hostProtoView : viewModule . AppProtoView = internalProtoView ( hostProtoViewRef ) ;
146146 var hostElementSelector = overrideSelector ;
147147 if ( isBlank ( hostElementSelector ) ) {
@@ -157,14 +157,14 @@ export class AppViewManager {
157157 return wtfLeave ( s , hostView . ref ) ;
158158 }
159159
160- _scope_destroyRootHostView : WtfScopeFn = wtfCreateScope ( 'AppViewManager#destroyRootHostView()' ) ;
160+ _destroyRootHostViewScope : WtfScopeFn = wtfCreateScope ( 'AppViewManager#destroyRootHostView()' ) ;
161161 /**
162162 * Remove the View created with {@link AppViewManager#createRootHostView}.
163163 */
164164 destroyRootHostView ( hostViewRef : HostViewRef ) {
165165 // Note: Don't put the hostView into the view pool
166166 // as it is depending on the element for which it was created.
167- var s = this . _scope_destroyRootHostView ( ) ;
167+ var s = this . _destroyRootHostViewScope ( ) ;
168168 var hostView = internalView ( < ViewRef > hostViewRef ) ;
169169 this . _renderer . detachFragment ( hostView . renderFragment ) ;
170170 this . _renderer . dehydrateView ( hostView . render ) ;
@@ -174,15 +174,15 @@ export class AppViewManager {
174174 wtfLeave ( s ) ;
175175 }
176176
177- _scope_createEmbeddedViewInContainer : WtfScopeFn =
177+ _createEmbeddedViewInContainerScope : WtfScopeFn =
178178 wtfCreateScope ( 'AppViewManager#createEmbeddedViewInContainer()' ) ;
179179 /**
180180 *
181181 * See {@link AppViewManager#destroyViewInContainer}.
182182 */
183183 createEmbeddedViewInContainer ( viewContainerLocation : ElementRef , atIndex : number ,
184184 templateRef : TemplateRef ) : ViewRef {
185- var s = this . _scope_createEmbeddedViewInContainer ( ) ;
185+ var s = this . _createEmbeddedViewInContainerScope ( ) ;
186186 var protoView = internalProtoView ( templateRef . protoViewRef ) ;
187187 if ( protoView . type !== ViewType . EMBEDDED ) {
188188 throw new BaseException ( 'This method can only be called with embedded ProtoViews!' ) ;
@@ -191,7 +191,7 @@ export class AppViewManager {
191191 templateRef . elementRef , null ) ) ;
192192 }
193193
194- _scope_createHostViewInContainer : WtfScopeFn =
194+ _createHostViewInContainerScope : WtfScopeFn =
195195 wtfCreateScope ( 'AppViewManager#createHostViewInContainer()' ) ;
196196 /**
197197 *
@@ -200,7 +200,7 @@ export class AppViewManager {
200200 createHostViewInContainer ( viewContainerLocation : ElementRef , atIndex : number ,
201201 protoViewRef : ProtoViewRef ,
202202 imperativelyCreatedInjector : ResolvedBinding [ ] ) : HostViewRef {
203- var s = this . _scope_createHostViewInContainer ( ) ;
203+ var s = this . _createHostViewInContainerScope ( ) ;
204204 var protoView = internalProtoView ( protoViewRef ) ;
205205 if ( protoView . type !== ViewType . HOST ) {
206206 throw new BaseException ( 'This method can only be called with host ProtoViews!' ) ;
@@ -255,27 +255,27 @@ export class AppViewManager {
255255 }
256256 }
257257
258- _scope_destroyViewInContainer = wtfCreateScope ( 'AppViewMananger#destroyViewInContainer()' ) ;
258+ _destroyViewInContainerScope = wtfCreateScope ( 'AppViewMananger#destroyViewInContainer()' ) ;
259259 /**
260260 *
261261 * See {@link AppViewManager#createViewInContainer}.
262262 */
263263 destroyViewInContainer ( viewContainerLocation : ElementRef , atIndex : number ) {
264- var s = this . _scope_destroyViewInContainer ( ) ;
264+ var s = this . _destroyViewInContainerScope ( ) ;
265265 var parentView = internalView ( viewContainerLocation . parentView ) ;
266266 var boundElementIndex = viewContainerLocation . boundElementIndex ;
267267 this . _destroyViewInContainer ( parentView , boundElementIndex , atIndex ) ;
268268 wtfLeave ( s ) ;
269269 }
270270
271- _scope_attachViewInContainer = wtfCreateScope ( 'AppViewMananger#attachViewInContainer()' ) ;
271+ _attachViewInContainerScope = wtfCreateScope ( 'AppViewMananger#attachViewInContainer()' ) ;
272272 /**
273273 *
274274 * See {@link AppViewManager#detachViewInContainer}.
275275 */
276276 attachViewInContainer ( viewContainerLocation : ElementRef , atIndex : number ,
277277 viewRef : ViewRef ) : ViewRef {
278- var s = this . _scope_attachViewInContainer ( ) ;
278+ var s = this . _attachViewInContainerScope ( ) ;
279279 var view = internalView ( viewRef ) ;
280280 var parentView = internalView ( viewContainerLocation . parentView ) ;
281281 var boundElementIndex = viewContainerLocation . boundElementIndex ;
@@ -290,13 +290,13 @@ export class AppViewManager {
290290 return wtfLeave ( s , viewRef ) ;
291291 }
292292
293- _scope_detachViewInContainer = wtfCreateScope ( 'AppViewMananger#detachViewInContainer()' ) ;
293+ _detachViewInContainerScope = wtfCreateScope ( 'AppViewMananger#detachViewInContainer()' ) ;
294294 /**
295295 *
296296 * See {@link AppViewManager#attachViewInContainer}.
297297 */
298298 detachViewInContainer ( viewContainerLocation : ElementRef , atIndex : number ) : ViewRef {
299- var s = this . _scope_detachViewInContainer ( ) ;
299+ var s = this . _detachViewInContainerScope ( ) ;
300300 var parentView = internalView ( viewContainerLocation . parentView ) ;
301301 var boundElementIndex = viewContainerLocation . boundElementIndex ;
302302 var viewContainer = parentView . viewContainers [ boundElementIndex ] ;
0 commit comments