clean up
diff --git a/tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-core.ts b/tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-core.ts
index 6feff42..7c9d6fa 100644
--- a/tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-core.ts
+++ b/tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-core.ts
@@ -128,20 +128,6 @@
}
});
};
-
- static toString = function (element) {
- var result = '';
- for (var property in element) {
- if (property && element[property]) {
- var value = '' + element[property];
- if (value !== '') {
- result += '\r\n' + property + '=' + value;
- }
- }
- }
- return result;
- };
-
}
document.addEventListener('DOMContentLoaded', function () {
diff --git a/tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-file.ts b/tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-file.ts
index d5ec0c4..8b57f39 100644
--- a/tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-file.ts
+++ b/tobago-theme/tobago-theme-standard/src/main/npm/ts/tobago-file.ts
@@ -28,7 +28,7 @@
let text: string;
if (real.multiple) {
const format: string = real.dataset["tobagoFileMultiFormat"];
- text = format.replace("{}", real.files.length.toString());
+ text = format.replace("{}", String(real.files.length));
} else {
text = <string>real.value;
// remove path, if any. Some old browsers set the path, others like webkit uses the prefix "C:\path\".