From f47525612407dbea163198a34dc764412c20e323 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Tue, 30 Aug 2016 11:00:54 -0700 Subject: [PATCH] example(toh-1): fix type error in snippet (#2219) Fixes #2216. --- .../toh-1/dart-snippets/app_component_snippets_pt1.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/docs/_examples/toh-1/dart-snippets/app_component_snippets_pt1.dart b/public/docs/_examples/toh-1/dart-snippets/app_component_snippets_pt1.dart index 8b21290440..3bfa89762d 100644 --- a/public/docs/_examples/toh-1/dart-snippets/app_component_snippets_pt1.dart +++ b/public/docs/_examples/toh-1/dart-snippets/app_component_snippets_pt1.dart @@ -32,6 +32,6 @@ template: ''' // #docregion app-component-1 class AppComponent { String title = 'Tour of Heroes'; - Hero hero = 'Windstorm'; + var hero = 'Windstorm'; } // #enddocregion app-component-1