Removed unused `shortPath` filter from app.js.

This commit is contained in:
Pyfisch 2014-09-05 12:39:35 +02:00
parent 619a6b2adb
commit 64d5d4aec7
1 changed files with 0 additions and 12 deletions

View File

@ -1052,18 +1052,6 @@ syncthing.filter('alwaysNumber', function () {
};
});
syncthing.filter('shortPath', function () {
return function (input) {
if (input === undefined)
return "";
var parts = input.split(/[\/\\]/);
if (!parts || parts.length <= 3) {
return input;
}
return ".../" + parts.slice(parts.length-2).join("/");
};
});
syncthing.filter('basename', function () {
return function (input) {
if (input === undefined)