Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(244)

Unified Diff: example/explainer/fruitsearch.html

Issue 11471037: Updating dwc for breaking changes that will be part of the next sdk (Closed) Base URL: git@github.com:dart-lang/dart-web-components.git@master
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/gen_html_setters.dart ('k') | lib/src/file_system/browser.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: example/explainer/fruitsearch.html
diff --git a/example/explainer/fruitsearch.html b/example/explainer/fruitsearch.html
index b25c3075618d4f0fa87fee250ac3b7c462428933..28c711e18000b67fd0f280ee6d3025a57edb691e 100644
--- a/example/explainer/fruitsearch.html
+++ b/example/explainer/fruitsearch.html
@@ -41,7 +41,7 @@ BSD-style license that can be found in the LICENSE file.
'Tangerine', 'Tomato', 'Watermelon'];
List<String> get results {
- var res = fruits.filter(
+ List<String> res = fruits.filter(
(v) => v.toLowerCase().contains(query.toLowerCase()));
if (res.length > 20) {
res.length = 20;
« no previous file with comments | « build/gen_html_setters.dart ('k') | lib/src/file_system/browser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698