improvement (UI): make the UI behave

This commit is contained in:
Mickael KERJEAN
2018-03-26 10:16:42 +11:00
parent ac8a9dbd26
commit 15cf85f752
15 changed files with 341 additions and 2293 deletions

View File

@ -8,3 +8,13 @@ export function pathBuilder(path, filename, type = 'file'){
return tmp + '/';
}
}
export function basename(path){
return Path.basename(path);
}
export function dirname(path){
const dir = Path.dirname(path);
if(dir === '/') return dir;
return dir + "/";
}