OLD | NEW |
1 /** | 1 /** |
2 * Creates database.html, examples.html, and obsolete.html. | 2 * Creates database.html, examples.html, and obsolete.html. |
3 */ | 3 */ |
4 | 4 |
5 #library("prettyPrint"); | 5 library prettyPrint; |
6 | 6 |
7 #import("dart:io"); | 7 import 'dart:io'; |
8 #import("dart:json"); | 8 import 'dart:json'; |
9 #import("util.dart"); | 9 import 'util.dart'; |
10 | 10 |
11 String orEmpty(String str) { | 11 String orEmpty(String str) { |
12 return str == null ? "" : str; | 12 return str == null ? "" : str; |
13 } | 13 } |
14 | 14 |
15 List<String> sortStringCollection(Collection<String> collection) { | 15 List<String> sortStringCollection(Collection<String> collection) { |
16 final out = <String>[]; | 16 final out = <String>[]; |
17 out.addAll(collection); | 17 out.addAll(collection); |
18 out.sort((String a, String b) => a.compareTo(b)); | 18 out.sort((String a, String b) => a.compareTo(b)); |
19 return out; | 19 return out; |
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 <th>IDL</th> | 421 <th>IDL</th> |
422 <th>Status</th> | 422 <th>Status</th> |
423 </tr> | 423 </tr> |
424 $sbObsolete | 424 $sbObsolete |
425 </tbody> | 425 </tbody> |
426 </table> | 426 </table> |
427 </body> | 427 </body> |
428 </html> | 428 </html> |
429 """); | 429 """); |
430 } | 430 } |
OLD | NEW |