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

Side by Side Diff: dart/samples/dartiverse_search/lib/github_search_engine.dart

Issue 60293003: Version 0.8.10.5 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 part of search_engine; 5 part of search_engine;
6 6
7 7
8 class GithubSearchEngine implements SearchEngine { 8 class GithubSearchEngine implements SearchEngine {
9 String get name => 'Github'; 9 String get name => 'Github';
10 10
(...skipping 27 matching lines...) Expand all
38 .forEach((item) { 38 .forEach((item) {
39 controller.add(new SearchResult( 39 controller.add(new SearchResult(
40 item['description'], item['html_url'])); 40 item['description'], item['html_url']));
41 }); 41 });
42 }) 42 })
43 .catchError(controller.addError) 43 .catchError(controller.addError)
44 .whenComplete(controller.close); 44 .whenComplete(controller.close);
45 return controller.stream; 45 return controller.stream;
46 } 46 }
47 } 47 }
OLDNEW
« no previous file with comments | « dart/samples/dartiverse_search/github_search_engine.dart ('k') | dart/samples/dartiverse_search/lib/search_engine.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698