mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Trying to not use greater than
This commit is contained in:
@@ -35,8 +35,8 @@ var Frontpage = {
|
||||
var num = 0;
|
||||
var pinned;
|
||||
|
||||
/*for(var i = 0; i < lists.length; i++) {
|
||||
if(!lists[i].hasOwnProperty("viewers")){
|
||||
for(var i = 0; i < lists.length; i++) {
|
||||
/*if(!lists[i].hasOwnProperty("viewers")){
|
||||
lists[i].viewers = 0;
|
||||
}
|
||||
if(!lists[i].hasOwnProperty("accessed")) {
|
||||
@@ -47,8 +47,12 @@ var Frontpage = {
|
||||
} else if(lists[i].pinned == 1) {
|
||||
pinned = lists[i];
|
||||
delete lists[i];
|
||||
}*/
|
||||
|
||||
if(lists[i].count == 0) {
|
||||
delete lists[i];
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
if(popular) {
|
||||
lists = lists.sort(Helper.predicate({
|
||||
|
||||
@@ -169,7 +169,7 @@ $().ready(function(){
|
||||
|
||||
setup_no_connection_listener();
|
||||
|
||||
/*try{
|
||||
try{
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: "https://api.github.com/users/zoff-music/received_events",
|
||||
@@ -189,7 +189,7 @@ $().ready(function(){
|
||||
});
|
||||
} catch(error){
|
||||
Helper.log("Error with fetching GitHub commit info");
|
||||
}*/
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user