| 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('dart:json'); | 9 #import('dart:json'); |
| 10 #import('../../../../../lib/compiler/implementation/source_file.dart'); | 10 #import('../../../../../lib/compiler/implementation/source_file.dart'); |
| 11 // TODO(rnystrom): Use "package:" URL (#4968). | 11 // TODO(rnystrom): Use "package:" URL (#4968). |
| 12 #import('../../classify.dart'); | 12 #import('../../classify.dart'); |
| 13 | 13 |
| 14 // TODO(rnystrom): Use "package:" URL (#4968). | 14 // TODO(rnystrom): Use "package:" URL (#4968). |
| 15 #source('dropdown.dart'); | 15 #source('dropdown.dart'); |
| 16 #source('search.dart'); | 16 #source('search.dart'); |
| 17 #source('../dartdoc/nav.dart'); | 17 #source('../dartdoc/nav.dart'); |
| 18 #source('client-shared.dart'); | 18 #source('client-shared.dart'); |
| 19 #source('../../../tmp/nav.dart'); | 19 #source('../../../tmp/nav.dart'); |
| 20 | 20 |
| 21 main() { | 21 main() { |
| 22 setupLocation(); | 22 setup(); |
| 23 | |
| 24 enableCodeBlocks(); | |
| 25 | |
| 26 setupSearch(json); | 23 setupSearch(json); |
| 27 } | 24 } |
| OLD | NEW |