From 63a94ee9416116e7918c9ded13149b9b0b86ae05 Mon Sep 17 00:00:00 2001 From: ericmartinezr Date: Mon, 17 Aug 2015 13:11:38 -0300 Subject: [PATCH] fix(docs) Fixes typo in ProtoViewRef class Changed 'foctary' to 'factory'. I wanted to change `{@link AppViewManager#createViewInContainer}` to `{@link AppViewManager#createViewInContainer}#createViewInContainer` and `{@link AppViewManager#createRootHostView}` to `{@link AppViewManager#createRootHostView}#createRootHostView` for readibility (see https://angular.io/docs/js/latest/api/core/ProtoViewRef-class.html it shows `AppViewManager and AppViewManager`). But I'm not sure if that'll work so I'm just going with the typo. Closes #3677 --- modules/angular2/src/core/compiler/view_ref.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/angular2/src/core/compiler/view_ref.ts b/modules/angular2/src/core/compiler/view_ref.ts index aff280329f..3dcebaccc3 100644 --- a/modules/angular2/src/core/compiler/view_ref.ts +++ b/modules/angular2/src/core/compiler/view_ref.ts @@ -96,7 +96,7 @@ export class ViewRef implements HostViewRef { * A ProtoView is a reference to a template for easy creation of views. * (See {@link AppViewManager#createViewInContainer} and {@link AppViewManager#createRootHostView}). * - * A `ProtoView` is a foctary for creating `View`s. + * A `ProtoView` is a factory for creating `View`s. * * ## Example *