testing downloads 6
This commit is contained in:
parent
0f376dac2c
commit
9696c1f666
@ -17,9 +17,9 @@ dlApp.filter('fromNow', function() {
|
|||||||
|
|
||||||
dlApp.filter('platform', function() {
|
dlApp.filter('platform', function() {
|
||||||
return function(filename) {
|
return function(filename) {
|
||||||
if(filename.contains("win32")) return "Windows (32-bit)";
|
if(filename.indexOf("win32") != -1) return "Windows (32-bit)";
|
||||||
if(filename.contains("win64")) return "Windows (64-bit)";
|
if(filename.indexOf("win64") != -1) return "Windows (64-bit)";
|
||||||
if(filename.contains("macosx")) return "Mac OS X";
|
if(filename.indexOf("macosx") != -1) return "Mac OS X";
|
||||||
return "Other";
|
return "Other";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user