Simplified file, removed unused import

This commit is contained in:
Lucien Cartier-Tilet 2020-05-21 07:32:47 +02:00
parent 8ca55cb710
commit c9d263b12c
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA

View File

@ -1,11 +1,6 @@
import 'dart:html'; import 'dart:html';
import './parse_sitemap.dart' show parseSitemap; String getPageTitle() => querySelector('title').text;
// Returns the title of the current webpage
String getPageTitle() {
return querySelector('title').text;
}
Element makeIcon(List<String> classes, [String id]) { Element makeIcon(List<String> classes, [String id]) {
final icon = Element.tag('i')..classes.addAll(classes); final icon = Element.tag('i')..classes.addAll(classes);