OLD | NEW |
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 using the static mode. */ | 5 /** Provides client-side behavior for generated docs using the static mode. */ |
6 #library('client-static'); | 6 #library('client-static'); |
7 | 7 |
8 #import('dart:html'); | 8 #import('dart:html'); |
9 #import('../../lib/compiler/implementation/source_file.dart'); | 9 #import('../../lib/compiler/implementation/source_file.dart'); |
| 10 #import('dart:json'); |
10 #import('classify.dart'); | 11 #import('classify.dart'); |
11 | 12 |
| 13 #source('dropdown.dart'); |
| 14 #source('search.dart'); |
| 15 #source('nav.dart'); |
12 #source('client-shared.dart'); | 16 #source('client-shared.dart'); |
| 17 #source('tmp/nav.dart'); |
13 | 18 |
14 main() { | 19 main() { |
| 20 setupLocation(); |
| 21 |
15 enableCodeBlocks(); | 22 enableCodeBlocks(); |
| 23 |
| 24 setupSearch(json); |
16 } | 25 } |
OLD | NEW |