From 216120daba9c6fba872e42b3f2dbe720446619b3 Mon Sep 17 00:00:00 2001 From: Filipe Silva Date: Fri, 29 Apr 2016 01:36:35 +0100 Subject: [PATCH] chore: update to beta.17 closes #1213, 1205 --- .../dart/lib/hero_list_component.html | 2 +- .../dart/lib/hero_list_component_1.html | 2 +- .../ts/app/hero-list.component.1.html | 2 +- .../ts/app/hero-list.component.html | 2 +- .../ts/app/app.component.html | 4 +- .../ts/app/date.pipe.ts | 2 +- .../ts/app/movie-list.component.html | 2 +- .../ts/app/hero-parent.component.ts | 2 +- .../ts/app/missioncontrol.component.ts | 4 +- .../ts/app/name-parent.component.ts | 2 +- .../ts/app/version-child.component.ts | 5 ++- .../ts/app/votetaker.component.ts | 4 +- .../ts/app/hero-of-the-month.component.ts | 2 +- .../ts/app/sorted-heroes.component.ts | 4 +- .../app/dynamic-form-question.component.html | 2 +- .../ts/app/dynamic-form.component.html | 2 +- .../ts/app/heroes-queries.component.ts | 2 +- .../ts/app/hero-team.component.ts | 2 +- .../ts/app/heroes/hero-list.component.1.ts | 3 +- .../ts/app/heroes/hero-list.component.2.ts | 6 +-- .../ts/app/heroes/hero-list.component.ts | 6 +-- .../displaying-data/ts/app/app.component.2.ts | 2 +- .../displaying-data/ts/app/app.component.3.ts | 2 +- .../displaying-data/ts/app/app.component.ts | 2 +- .../forms/dart/lib/hero_form_component.html | 2 +- .../lib/hero_form_component_ngcontrol.html | 2 +- .../lib/hero_form_component_ngmodel2.html | 2 +- .../hero_form_component_ngmodel_ngfor.html | 2 +- .../hero_form_component_ngmodelchange.html | 2 +- .../dart/lib/hero_form_component_spy.html | 2 +- .../forms/js/app/hero-form.component.html | 6 +-- .../forms/ts/app/hero-form.component.html | 6 +-- .../ts/app/heroes-list.component.ts | 2 +- .../homepage-hello-world/ts/index.1.html | 6 +-- .../_examples/homepage-tabs/ts/app/di_demo.ts | 2 +- .../_examples/homepage-tabs/ts/app/ui_tabs.ts | 2 +- .../_examples/homepage-tabs/ts/index.1.html | 6 +-- .../homepage-todo/ts/app/todo_list.ts | 2 +- .../_examples/homepage-todo/ts/index.1.html | 6 +-- .../ts/app/after-content.component.ts | 2 +- .../ts/app/after-view.component.ts | 2 +- .../ts/app/counter.component.ts | 4 +- .../ts/app/do-check.component.ts | 2 +- .../ts/app/on-changes.component.ts | 2 +- .../ts/app/peek-a-boo-parent.component.ts | 2 +- .../lifecycle-hooks/ts/app/spy.component.ts | 4 +- public/docs/_examples/package.json | 6 +-- .../pipes/ts/app/flying-heroes.component.html | 4 +- .../pipes/ts/app/hero-list.component.ts | 2 +- .../_examples/quickstart/js/package.1.json | 4 +- .../_examples/quickstart/ts/package.1.json | 4 +- .../_examples/quickstart/ts/typings.1.json | 4 +- .../crisis-center/crisis-list.component.1.ts | 2 +- .../crisis-center/crisis-list.component.ts | 2 +- .../ts/app/heroes/hero-list.component.1.ts | 2 +- .../ts/app/heroes/hero-list.component.ts | 2 +- .../ts/app/toh/hero-list.component.html | 2 +- .../ts/app/wiki/wiki-smart.component.ts | 2 +- .../ts/app/wiki/wiki.component.ts | 2 +- .../lib/structural_directives_component.html | 8 ++-- .../app/structural-directives.component.html | 8 ++-- .../app/heroes/heroes.component.avoid.ts | 2 +- .../ts/05-04/app/heroes/heroes.component.html | 2 +- .../app/heroes/heroes-list.component.avoid.ts | 2 +- .../05-17/app/heroes/heroes-list.component.ts | 2 +- .../dart/lib/app_component.html | 26 +++++------ .../template-syntax/ts/app/app.component.html | 44 +++++++++---------- public/docs/_examples/testing/ts/app/bag.ts | 2 +- .../testing/ts/app/dashboard.component.html | 2 +- .../testing/ts/app/heroes.component.html | 2 +- .../ts-snippets/app.component.snippets.pt2.ts | 10 ++--- .../_examples/toh-2/ts/app/app.component.ts | 2 +- .../_examples/toh-3/ts/app/app.component.ts | 2 +- .../_examples/toh-4/ts/app/app.component.1.ts | 2 +- .../_examples/toh-4/ts/app/app.component.ts | 2 +- .../toh-5/dart/lib/dashboard_component.html | 2 +- .../toh-5/dart/lib/heroes_component.html | 2 +- .../toh-5/ts/app/dashboard.component.html | 2 +- .../toh-5/ts/app/heroes.component.html | 2 +- .../tutorial/ts/app/dashboard.component.html | 2 +- .../tutorial/ts/app/heroes.component.html | 2 +- public/docs/_examples/typings.json | 4 +- .../app/js/phone_detail/phone_detail.html | 8 ++-- .../app/js/phone_list/phone_list.html | 2 +- .../phone_list/phone_list_without_async.html | 2 +- .../phone_list/phone_list_without_pipes.html | 2 +- .../app/js/phone_detail/phone_detail.html | 8 ++-- .../app/js/phone_list/phone_list.html | 2 +- .../ts/app/little-tour.component.ts | 2 +- public/docs/js/latest/_data.json | 2 +- public/docs/ts/latest/_data.json | 2 +- tools/plunker-builder/indexHtmlTranslator.js | 20 ++++----- 92 files changed, 179 insertions(+), 179 deletions(-) diff --git a/public/docs/_examples/architecture/dart/lib/hero_list_component.html b/public/docs/_examples/architecture/dart/lib/hero_list_component.html index 539ef5fdd5..e493e949fb 100644 --- a/public/docs/_examples/architecture/dart/lib/hero_list_component.html +++ b/public/docs/_examples/architecture/dart/lib/hero_list_component.html @@ -1,7 +1,7 @@

Hero List

-
+
{{hero.name}}
diff --git a/public/docs/_examples/architecture/dart/lib/hero_list_component_1.html b/public/docs/_examples/architecture/dart/lib/hero_list_component_1.html index 8673962169..7a08bd2f8b 100644 --- a/public/docs/_examples/architecture/dart/lib/hero_list_component_1.html +++ b/public/docs/_examples/architecture/dart/lib/hero_list_component_1.html @@ -5,6 +5,6 @@ -
...
+
...
diff --git a/public/docs/_examples/architecture/ts/app/hero-list.component.1.html b/public/docs/_examples/architecture/ts/app/hero-list.component.1.html index 7fbd8f22ac..d4d6b905fa 100644 --- a/public/docs/_examples/architecture/ts/app/hero-list.component.1.html +++ b/public/docs/_examples/architecture/ts/app/hero-list.component.1.html @@ -6,7 +6,7 @@ -
+
diff --git a/public/docs/_examples/architecture/ts/app/hero-list.component.html b/public/docs/_examples/architecture/ts/app/hero-list.component.html index a3de7f2950..f3c92b3141 100644 --- a/public/docs/_examples/architecture/ts/app/hero-list.component.html +++ b/public/docs/_examples/architecture/ts/app/hero-list.component.html @@ -2,7 +2,7 @@

Hero List

Pick a hero from the list

-
+
{{hero.name}}
diff --git a/public/docs/_examples/cb-a1-a2-quick-reference/ts/app/app.component.html b/public/docs/_examples/cb-a1-a2-quick-reference/ts/app/app.component.html index e0be283708..9626afd5cb 100644 --- a/public/docs/_examples/cb-a1-a2-quick-reference/ts/app/app.component.html +++ b/public/docs/_examples/cb-a1-a2-quick-reference/ts/app/app.component.html @@ -75,7 +75,7 @@

Movie Titles via local variable

- + @@ -84,7 +84,7 @@

Sliced Movies with pipes

{{movie.title}}
- + diff --git a/public/docs/_examples/cb-a1-a2-quick-reference/ts/app/date.pipe.ts b/public/docs/_examples/cb-a1-a2-quick-reference/ts/app/date.pipe.ts index f9746ceef9..a27f5dc82d 100644 --- a/public/docs/_examples/cb-a1-a2-quick-reference/ts/app/date.pipe.ts +++ b/public/docs/_examples/cb-a1-a2-quick-reference/ts/app/date.pipe.ts @@ -5,7 +5,7 @@ import {DatePipe} from 'angular2/common'; // #docregion date-pipe @Pipe({name: 'date', pure: true}) export class StringSafeDatePipe extends DatePipe { - transform(value: any, args: any[]): string { + transform(value: any, args: string): string { value = typeof value === 'string' ? Date.parse(value) : value return super.transform(value, args); diff --git a/public/docs/_examples/cb-a1-a2-quick-reference/ts/app/movie-list.component.html b/public/docs/_examples/cb-a1-a2-quick-reference/ts/app/movie-list.component.html index 59edc28556..91f7f416cd 100644 --- a/public/docs/_examples/cb-a1-a2-quick-reference/ts/app/movie-list.component.html +++ b/public/docs/_examples/cb-a1-a2-quick-reference/ts/app/movie-list.component.html @@ -54,7 +54,7 @@ - +
{{master}} controls {{heroes.length}} heroes - diff --git a/public/docs/_examples/cb-component-communication/ts/app/missioncontrol.component.ts b/public/docs/_examples/cb-component-communication/ts/app/missioncontrol.component.ts index edcb0ae344..40eca25726 100644 --- a/public/docs/_examples/cb-component-communication/ts/app/missioncontrol.component.ts +++ b/public/docs/_examples/cb-component-communication/ts/app/missioncontrol.component.ts @@ -8,12 +8,12 @@ import {MissionService} from './mission.service'; template: `

Mission Control

-

History

    -
  • {{event}}
  • +
  • {{event}}
`, directives: [AstronautComponent], diff --git a/public/docs/_examples/cb-component-communication/ts/app/name-parent.component.ts b/public/docs/_examples/cb-component-communication/ts/app/name-parent.component.ts index ec99f31675..5eb0d318c5 100644 --- a/public/docs/_examples/cb-component-communication/ts/app/name-parent.component.ts +++ b/public/docs/_examples/cb-component-communication/ts/app/name-parent.component.ts @@ -6,7 +6,7 @@ import {NameChildComponent} from './name-child.component'; selector: 'name-parent', template: `

Master controls {{names.length}} names

- `, diff --git a/public/docs/_examples/cb-component-communication/ts/app/version-child.component.ts b/public/docs/_examples/cb-component-communication/ts/app/version-child.component.ts index 944c2888f6..17e06f67ba 100644 --- a/public/docs/_examples/cb-component-communication/ts/app/version-child.component.ts +++ b/public/docs/_examples/cb-component-communication/ts/app/version-child.component.ts @@ -1,3 +1,4 @@ +/* tslint:disable:forin */ // #docregion import {Component, Input, OnChanges, SimpleChange} from 'angular2/core'; @@ -7,7 +8,7 @@ import {Component, Input, OnChanges, SimpleChange} from 'angular2/core';

Version {{major}}.{{minor}}

Change log:

    -
  • {{change}}
  • +
  • {{change}}
` }) @@ -27,4 +28,4 @@ export class VersionChildComponent implements OnChanges { this.changeLog.push(log.join(', ')); } } -// #enddocregion \ No newline at end of file +// #enddocregion diff --git a/public/docs/_examples/cb-component-communication/ts/app/votetaker.component.ts b/public/docs/_examples/cb-component-communication/ts/app/votetaker.component.ts index 02aeda9fd9..f6bfd1bbe0 100644 --- a/public/docs/_examples/cb-component-communication/ts/app/votetaker.component.ts +++ b/public/docs/_examples/cb-component-communication/ts/app/votetaker.component.ts @@ -7,7 +7,7 @@ import {VoterComponent} from './voter.component'; template: `

Should mankind colonize the Universe?

Agree: {{agreed}}, Disagree: {{disagreed}}

- @@ -23,4 +23,4 @@ export class VoteTakerComponent { agreed ? this.agreed++ : this.disagreed++; } } -// #enddocregion \ No newline at end of file +// #enddocregion diff --git a/public/docs/_examples/cb-dependency-injection/ts/app/hero-of-the-month.component.ts b/public/docs/_examples/cb-dependency-injection/ts/app/hero-of-the-month.component.ts index 02dcae4824..d9426b2b0b 100644 --- a/public/docs/_examples/cb-dependency-injection/ts/app/hero-of-the-month.component.ts +++ b/public/docs/_examples/cb-dependency-injection/ts/app/hero-of-the-month.component.ts @@ -30,7 +30,7 @@ const template = `

Logs:

-
{{log}}
+
{{log}}
`; diff --git a/public/docs/_examples/cb-dependency-injection/ts/app/sorted-heroes.component.ts b/public/docs/_examples/cb-dependency-injection/ts/app/sorted-heroes.component.ts index 2a45367044..767a3ff935 100644 --- a/public/docs/_examples/cb-dependency-injection/ts/app/sorted-heroes.component.ts +++ b/public/docs/_examples/cb-dependency-injection/ts/app/sorted-heroes.component.ts @@ -8,7 +8,7 @@ import {HeroService} from './hero.service'; // #docregion heroes-base, injection @Component({ selector: 'unsorted-heroes', - template: `
{{hero.name}}
`, + template: `
{{hero.name}}
`, providers: [HeroService] }) export class HeroesBaseComponent implements OnInit { @@ -33,7 +33,7 @@ export class HeroesBaseComponent implements OnInit { // #docregion sorted-heroes @Component({ selector: 'sorted-heroes', - template: `
{{hero.name}}
`, + template: `
{{hero.name}}
`, providers: [HeroService] }) export class SortedHeroesComponent extends HeroesBaseComponent { diff --git a/public/docs/_examples/cb-dynamic-form/ts/app/dynamic-form-question.component.html b/public/docs/_examples/cb-dynamic-form/ts/app/dynamic-form-question.component.html index ceb6d8e141..ceb2f41177 100644 --- a/public/docs/_examples/cb-dynamic-form/ts/app/dynamic-form-question.component.html +++ b/public/docs/_examples/cb-dynamic-form/ts/app/dynamic-form-question.component.html @@ -8,7 +8,7 @@ [id]="question.key" [type]="question.type"> diff --git a/public/docs/_examples/cb-dynamic-form/ts/app/dynamic-form.component.html b/public/docs/_examples/cb-dynamic-form/ts/app/dynamic-form.component.html index 7cb4b08ce3..e8f14612c9 100644 --- a/public/docs/_examples/cb-dynamic-form/ts/app/dynamic-form.component.html +++ b/public/docs/_examples/cb-dynamic-form/ts/app/dynamic-form.component.html @@ -2,7 +2,7 @@
-
+
diff --git a/public/docs/_examples/cb-ts-to-js/ts/app/heroes-queries.component.ts b/public/docs/_examples/cb-ts-to-js/ts/app/heroes-queries.component.ts index a16906266c..2bb82b0c5f 100644 --- a/public/docs/_examples/cb-ts-to-js/ts/app/heroes-queries.component.ts +++ b/public/docs/_examples/cb-ts-to-js/ts/app/heroes-queries.component.ts @@ -48,7 +48,7 @@ class HeroComponent { @Component({ selector: 'heroes-queries', template: ` - diff --git a/public/docs/_examples/component-styles/ts/app/hero-team.component.ts b/public/docs/_examples/component-styles/ts/app/hero-team.component.ts index 78885ff1ea..4255bc21b3 100644 --- a/public/docs/_examples/component-styles/ts/app/hero-team.component.ts +++ b/public/docs/_examples/component-styles/ts/app/hero-team.component.ts @@ -8,7 +8,7 @@ import {Hero} from './hero';

Team

    -
  • +
  • {{member}}
` diff --git a/public/docs/_examples/dependency-injection/ts/app/heroes/hero-list.component.1.ts b/public/docs/_examples/dependency-injection/ts/app/heroes/hero-list.component.1.ts index f82ced305d..193b893687 100644 --- a/public/docs/_examples/dependency-injection/ts/app/heroes/hero-list.component.1.ts +++ b/public/docs/_examples/dependency-injection/ts/app/heroes/hero-list.component.1.ts @@ -1,12 +1,11 @@ // #docregion import { Component } from 'angular2/core'; -import { Hero } from './hero'; import { HEROES } from './mock-heroes'; @Component({ selector: 'hero-list', template: ` -
+
{{hero.id}} - {{hero.name}}
`, diff --git a/public/docs/_examples/dependency-injection/ts/app/heroes/hero-list.component.2.ts b/public/docs/_examples/dependency-injection/ts/app/heroes/hero-list.component.2.ts index 4c78e6a190..6ccb4fc582 100644 --- a/public/docs/_examples/dependency-injection/ts/app/heroes/hero-list.component.2.ts +++ b/public/docs/_examples/dependency-injection/ts/app/heroes/hero-list.component.2.ts @@ -6,7 +6,7 @@ import { HeroService } from './hero.service'; @Component({ selector: 'hero-list', template: ` -
+
{{hero.id}} - {{hero.name}}
`, @@ -14,9 +14,9 @@ import { HeroService } from './hero.service'; export class HeroListComponent { heroes: Hero[]; - //#docregion ctor + // #docregion ctor constructor(heroService: HeroService) { this.heroes = heroService.getHeroes(); } - //#enddocregion ctor + // #enddocregion ctor } diff --git a/public/docs/_examples/dependency-injection/ts/app/heroes/hero-list.component.ts b/public/docs/_examples/dependency-injection/ts/app/heroes/hero-list.component.ts index b244d6d38c..ede7386818 100644 --- a/public/docs/_examples/dependency-injection/ts/app/heroes/hero-list.component.ts +++ b/public/docs/_examples/dependency-injection/ts/app/heroes/hero-list.component.ts @@ -6,7 +6,7 @@ import { HeroService } from './hero.service'; @Component({ selector: 'hero-list', template: ` -
+
{{hero.id}} - {{hero.name}} ({{hero.isSecret ? 'secret' : 'public'}})
@@ -15,9 +15,9 @@ import { HeroService } from './hero.service'; export class HeroListComponent { heroes: Hero[]; - //#docregion ctor-signature + // #docregion ctor-signature constructor(heroService: HeroService) { - //#enddocregion ctor-signature + // #enddocregion ctor-signature this.heroes = heroService.getHeroes(); } } diff --git a/public/docs/_examples/displaying-data/ts/app/app.component.2.ts b/public/docs/_examples/displaying-data/ts/app/app.component.2.ts index ed30ee0ebc..2a8f1aec40 100644 --- a/public/docs/_examples/displaying-data/ts/app/app.component.2.ts +++ b/public/docs/_examples/displaying-data/ts/app/app.component.2.ts @@ -10,7 +10,7 @@ import {Component} from 'angular2/core';

Heroes:

    // #docregion li-repeater -
  • +
  • {{ hero }}
  • // #enddocregion li-repeater diff --git a/public/docs/_examples/displaying-data/ts/app/app.component.3.ts b/public/docs/_examples/displaying-data/ts/app/app.component.3.ts index 79edbfdfae..c14db59410 100644 --- a/public/docs/_examples/displaying-data/ts/app/app.component.3.ts +++ b/public/docs/_examples/displaying-data/ts/app/app.component.3.ts @@ -12,7 +12,7 @@ import {Hero} from './hero';

    My favorite hero is: {{myHero.name}}

    Heroes:

      -
    • +
    • {{ hero.name }}
    diff --git a/public/docs/_examples/displaying-data/ts/app/app.component.ts b/public/docs/_examples/displaying-data/ts/app/app.component.ts index ace957d9b4..dbbb923f50 100644 --- a/public/docs/_examples/displaying-data/ts/app/app.component.ts +++ b/public/docs/_examples/displaying-data/ts/app/app.component.ts @@ -12,7 +12,7 @@ import {Hero} from './hero';

    My favorite hero is: {{myHero.name}}

    Heroes:

      -
    • +
    • {{ hero.name }}
    diff --git a/public/docs/_examples/forms/dart/lib/hero_form_component.html b/public/docs/_examples/forms/dart/lib/hero_form_component.html index 22097f5e33..dd3b91167f 100644 --- a/public/docs/_examples/forms/dart/lib/hero_form_component.html +++ b/public/docs/_examples/forms/dart/lib/hero_form_component.html @@ -32,7 +32,7 @@
diff --git a/public/docs/_examples/forms/dart/lib/hero_form_component_ngcontrol.html b/public/docs/_examples/forms/dart/lib/hero_form_component_ngcontrol.html index 09ffb3b968..16eee0a1cf 100644 --- a/public/docs/_examples/forms/dart/lib/hero_form_component_ngcontrol.html +++ b/public/docs/_examples/forms/dart/lib/hero_form_component_ngcontrol.html @@ -23,7 +23,7 @@
diff --git a/public/docs/_examples/forms/dart/lib/hero_form_component_ngmodel2.html b/public/docs/_examples/forms/dart/lib/hero_form_component_ngmodel2.html index 9b86b3745c..650c974957 100644 --- a/public/docs/_examples/forms/dart/lib/hero_form_component_ngmodel2.html +++ b/public/docs/_examples/forms/dart/lib/hero_form_component_ngmodel2.html @@ -20,7 +20,7 @@
diff --git a/public/docs/_examples/forms/dart/lib/hero_form_component_ngmodel_ngfor.html b/public/docs/_examples/forms/dart/lib/hero_form_component_ngmodel_ngfor.html index 111ac2403f..a0b851a09c 100644 --- a/public/docs/_examples/forms/dart/lib/hero_form_component_ngmodel_ngfor.html +++ b/public/docs/_examples/forms/dart/lib/hero_form_component_ngmodel_ngfor.html @@ -20,7 +20,7 @@
diff --git a/public/docs/_examples/forms/dart/lib/hero_form_component_ngmodelchange.html b/public/docs/_examples/forms/dart/lib/hero_form_component_ngmodelchange.html index c8ebb80386..96c55b9740 100644 --- a/public/docs/_examples/forms/dart/lib/hero_form_component_ngmodelchange.html +++ b/public/docs/_examples/forms/dart/lib/hero_form_component_ngmodelchange.html @@ -22,7 +22,7 @@
diff --git a/public/docs/_examples/forms/dart/lib/hero_form_component_spy.html b/public/docs/_examples/forms/dart/lib/hero_form_component_spy.html index c1f331eed6..4c77cd14ab 100644 --- a/public/docs/_examples/forms/dart/lib/hero_form_component_spy.html +++ b/public/docs/_examples/forms/dart/lib/hero_form_component_spy.html @@ -24,7 +24,7 @@
diff --git a/public/docs/_examples/forms/js/app/hero-form.component.html b/public/docs/_examples/forms/js/app/hero-form.component.html index 2e20f638b7..fdf8e08396 100644 --- a/public/docs/_examples/forms/js/app/hero-form.component.html +++ b/public/docs/_examples/forms/js/app/hero-form.component.html @@ -32,7 +32,7 @@
Power is required @@ -110,7 +110,7 @@
@@ -146,7 +146,7 @@
diff --git a/public/docs/_examples/forms/ts/app/hero-form.component.html b/public/docs/_examples/forms/ts/app/hero-form.component.html index 3412ceaff2..6fcfc2a7cb 100644 --- a/public/docs/_examples/forms/ts/app/hero-form.component.html +++ b/public/docs/_examples/forms/ts/app/hero-form.component.html @@ -34,7 +34,7 @@
Power is required @@ -124,7 +124,7 @@
@@ -161,7 +161,7 @@
diff --git a/public/docs/_examples/hierarchical-dependency-injection/ts/app/heroes-list.component.ts b/public/docs/_examples/hierarchical-dependency-injection/ts/app/heroes-list.component.ts index a2d477710a..67f5de5238 100644 --- a/public/docs/_examples/hierarchical-dependency-injection/ts/app/heroes-list.component.ts +++ b/public/docs/_examples/hierarchical-dependency-injection/ts/app/heroes-list.component.ts @@ -11,7 +11,7 @@ import {Hero} from './hero'; template: `
    -
  • +
  • diff --git a/public/docs/_examples/homepage-hello-world/ts/index.1.html b/public/docs/_examples/homepage-hello-world/ts/index.1.html index 550dc65833..383636ea87 100644 --- a/public/docs/_examples/homepage-hello-world/ts/index.1.html +++ b/public/docs/_examples/homepage-hello-world/ts/index.1.html @@ -14,9 +14,9 @@ - - - + + + - - - + + + - - - + + +