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

Side by Side Diff: pkg/dartdoc/lib/src/client/dropdown.dart

Issue 10919260: Reorganize dartdoc to new package layout. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/dartdoc/lib/src/client/client-static.dart ('k') | pkg/dartdoc/lib/src/client/search.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 List libraryList; 5 List libraryList;
6 InputElement searchInput; 6 InputElement searchInput;
7 DivElement dropdown; 7 DivElement dropdown;
8 8
9 /** 9 /**
10 * Update the search drop down based on the current search text. 10 * Update the search drop down based on the current search text.
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 dropdown = query('#drop-down'); 335 dropdown = query('#drop-down');
336 336
337 searchInput.on.keyDown.add(handleUpDown); 337 searchInput.on.keyDown.add(handleUpDown);
338 searchInput.on.keyUp.add(updateDropDown); 338 searchInput.on.keyUp.add(updateDropDown);
339 searchInput.on.change.add(updateDropDown); 339 searchInput.on.change.add(updateDropDown);
340 searchInput.on.reset.add(updateDropDown); 340 searchInput.on.reset.add(updateDropDown);
341 searchInput.on.focus.add((event) => showDropDown()); 341 searchInput.on.focus.add((event) => showDropDown());
342 searchInput.on.blur.add((event) => hideDropDown()); 342 searchInput.on.blur.add((event) => hideDropDown());
343 window.on.keyDown.add(shortcutHandler); 343 window.on.keyDown.add(shortcutHandler);
344 } 344 }
OLDNEW
« no previous file with comments | « pkg/dartdoc/lib/src/client/client-static.dart ('k') | pkg/dartdoc/lib/src/client/search.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698