From 638eb68eb48d465c47c513ca17cebc0ae56c2b9b Mon Sep 17 00:00:00 2001 From: Henrique Ramos Limas Date: Wed, 29 Apr 2015 19:51:51 -0300 Subject: [PATCH] chore(rename) rename View and Templates concepts --- public/docs/dart/latest/quickstart.jade | 10 +++++----- public/index.jade | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/public/docs/dart/latest/quickstart.jade b/public/docs/dart/latest/quickstart.jade index 6087fbcbbc..05cb1f41f9 100644 --- a/public/docs/dart/latest/quickstart.jade +++ b/public/docs/dart/latest/quickstart.jade @@ -108,7 +108,7 @@ p. has the tag <my-app>. The Dart code for an Angular component consists of a class (the component controller) - that has @Component and @Template annotations. + that has @Component and @View annotations. .l-sub-section @@ -119,10 +119,10 @@ p. the HTML tag for the component by specifying the component's CSS selector. p. - The @Template annotation defines the HTML that + The @View annotation defines the HTML that represents the component. This component uses an inline template, but you can also have an external template. To use an external template, - specify a url property + specify a templateUrl property and give it the path to the HTML file. pre.prettyprint @@ -130,8 +130,8 @@ p. @Component( selector: 'my-app' ) - @Template( - inline: '<h1>Hello {{ name }}</h1>' + @View( + template: '<h1>Hello {{ name }}</h1>' ) // [PENDING: add line numbers once we can specify where they start] diff --git a/public/index.jade b/public/index.jade index e4a8541bcd..8a7653dd80 100644 --- a/public/index.jade +++ b/public/index.jade @@ -14,7 +14,7 @@ pre.prettyprint.linenums.is-showcase code. @Component({selector: 'my-app'}) - @Template({inline: '<h1>Hi {{ name }}</h1>'}) + @View({template: '<h1>Hi {{ name }}</h1>'}) // Component controller class MyAppComponent {