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

Unified Diff: client/web/search.dart

Issue 22862004: added a timeout of 500 milliseconds. (Closed) Base URL: git@github.com:dart-lang/dartdoc-viewer.git@master
Patch Set: Created 7 years, 4 months 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 | « client/lib/search.dart ('k') | client/web/search.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/web/search.dart
diff --git a/client/web/search.dart b/client/web/search.dart
index c7ffc366682d650af23d309faf6b3a605b900533..9424ae7bad4d4718c5d5e15986555b3a898b0cfb 100644
--- a/client/web/search.dart
+++ b/client/web/search.dart
@@ -15,8 +15,7 @@ import 'package:web_ui/watcher.dart' as watchers;
* Component implementing the Dartdoc_viewer search.
*/
class Search extends WebComponent {
- /** Search query. */
- @observable String searchQuery = "";
+
List<SearchResult> results = toObservable(<SearchResult>[]);
String _lastQuery;
@observable bool isFocused = false;
« no previous file with comments | « client/lib/search.dart ('k') | client/web/search.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698