OLD | NEW |
1 // Copyright (c) 2011, 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('../../frog/lang.dart', prefix: 'frog'); |
11 #import('classify.dart'); | 11 #import('classify.dart'); |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 '''); | 101 '''); |
102 } | 102 } |
103 html.add('</li>'); | 103 html.add('</li>'); |
104 } | 104 } |
105 | 105 |
106 html.add('<ul class="icon">'); | 106 html.add('<ul class="icon">'); |
107 types.forEach((type) => writeType(type['kind'], type)); | 107 types.forEach((type) => writeType(type['kind'], type)); |
108 exceptions.forEach((type) => writeType('exception', type)); | 108 exceptions.forEach((type) => writeType('exception', type)); |
109 html.add('</ul>'); | 109 html.add('</ul>'); |
110 } | 110 } |
OLD | NEW |