Index: utils/apidoc/mdn/prettyPrint.dart |
diff --git a/utils/apidoc/mdn/prettyPrint.dart b/utils/apidoc/mdn/prettyPrint.dart |
index e95d23bf2985fe729d00777a1824e0e51f29cd95..d0a413cf849741e6939d32dca256f988c3f09e01 100644 |
--- a/utils/apidoc/mdn/prettyPrint.dart |
+++ b/utils/apidoc/mdn/prettyPrint.dart |
@@ -52,7 +52,7 @@ int addMissing(StringBuffer sb, String type, Map members) { |
void main() { |
// Database of code documentation. |
final Map<String, Map> database = JSON.parse( |
- new File('output/database.filtered.json').readAsTextSync()); |
+ new File('output/database.filtered.json').readAsStringSync()); |
// Types we have documentation for. |
matchedTypes = new Set<String>(); |