Switch from babel to typescript for initial ext conversion

This commit is contained in:
hensm
2019-02-25 14:34:27 +00:00
parent e4dffe0cce
commit b7571791e2
13 changed files with 217 additions and 1342 deletions

View File

@@ -1,12 +1,12 @@
"use strict";
export function getNextEllipsis (ellipsis) {
return do {
if (ellipsis === "") ".";
else if (ellipsis === ".") "..";
else if (ellipsis === "..") "...";
else if (ellipsis === "...") "";
};
return {
"": "."
, ".": ".."
, "..": "..."
, "...": ""
}[ellipsis];
}
export function getWindowCenteredProps (refWin, width, height) {