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

Side by Side Diff: lib/dartdoc/client-live-nav.dart

Issue 10701091: Dartdoc and Apidoc updated to use dart2js through the mirror system. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fixed cf. rnystrom's comments. Created 8 years, 5 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
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 /** Provides client-side behavior for generated docs. */ 5 /** Provides client-side behavior for generated docs. */
6 #library('client-live-nav'); 6 #library('client-live-nav');
7 7
8 #import('dart:html'); 8 #import('dart:html');
9 #import('dart:json'); 9 #import('dart:json');
10 #import('frog/lang.dart', prefix: 'frog'); 10 #import('../compiler/implementation/source_file.dart');
11 #import('classify.dart'); 11 #import('classify.dart');
12 #import('markdown.dart', prefix: 'md'); 12 #import('markdown.dart', prefix: 'md');
13 13
14 #source('client-shared.dart'); 14 #source('client-shared.dart');
15 15
16 // The names of the library and type that this page documents. 16 // The names of the library and type that this page documents.
17 String currentLibrary = null; 17 String currentLibrary = null;
18 String currentType = null; 18 String currentType = null;
19 19
20 // What we need to prefix relative URLs with to get them to work. 20 // What we need to prefix relative URLs with to get them to work.
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 '''); 99 ''');
100 } 100 }
101 html.add('</li>'); 101 html.add('</li>');
102 } 102 }
103 103
104 html.add('<ul class="icon">'); 104 html.add('<ul class="icon">');
105 types.forEach((type) => writeType(type['kind'], type)); 105 types.forEach((type) => writeType(type['kind'], type));
106 exceptions.forEach((type) => writeType('exception', type)); 106 exceptions.forEach((type) => writeType('exception', type));
107 html.add('</ul>'); 107 html.add('</ul>');
108 } 108 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698