From 912ed52f25dc5bf8b7b4e003e07633b8e8946a01 Mon Sep 17 00:00:00 2001 From: John Oxley Date: Wed, 16 Dec 2015 13:26:24 +0000 Subject: [PATCH] docs: Fixed minor typos in attribute-directives and user-input closes #556 * user-input.jade --- public/docs/ts/latest/guide/attribute-directives.jade | 2 +- public/docs/ts/latest/guide/user-input.jade | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/docs/ts/latest/guide/attribute-directives.jade b/public/docs/ts/latest/guide/attribute-directives.jade index f27ec8b9c3..a1da8e86ec 100644 --- a/public/docs/ts/latest/guide/attribute-directives.jade +++ b/public/docs/ts/latest/guide/attribute-directives.jade @@ -61,7 +61,7 @@ include ../../../../_includes/_util-fns and relocate the call to `bootstrap` to a separate `boot.ts` file. +makeExample('attribute-directives/ts/app/boot.ts', null, 'app/boot.ts') :marked - A clean `app.component.ts` without bootstrapping is much easer to test. + A clean `app.component.ts` without bootstrapping is much easier to test. Finally, we remember to update `index.html` to load `boot.ts` diff --git a/public/docs/ts/latest/guide/user-input.jade b/public/docs/ts/latest/guide/user-input.jade index 42f5c063c9..200b6b24ed 100644 --- a/public/docs/ts/latest/guide/user-input.jade +++ b/public/docs/ts/latest/guide/user-input.jade @@ -113,9 +113,9 @@ figure.image-display We're binding to the number 0, the shortest expression we can think of. That is all it takes to keep Angular happy. We said it would be clever! :marked - That local template variable is intriguing. It's clearly easer to get to the textbox with that + That local template variable is intriguing. It's clearly easier to get to the textbox with that variable than to go through the `$event` object. Maybe we can re-write our previous - "key-up" example using the variable to acquire the user's' input. Let's give it a try. + "key-up" example using the variable to acquire the user's input. Let's give it a try. +makeExample('user-input/ts/app/keyup.components.ts', 'key-up-component-2' ,'app/keyup.components.ts (v2)') :marked That sure seems easier.