Skip to content

Commit

Permalink
fix utils.js
Browse files Browse the repository at this point in the history
  • Loading branch information
imfly committed Jan 12, 2016
1 parent 7549c0d commit a77f458
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions public/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ var Utils = (function() {
"children": [{
"name": "imfly/myIDE",
"watchers_count": 100,
"forks_count": 50,
"size": 20
"forks_count": 50
}]
}]
}
Expand Down Expand Up @@ -125,21 +124,15 @@ var Utils = (function() {
"forks_count": item.forks_count
};

if (item.language === "null") {
language = "null";
};

if (item.language === language || (item.language === "null" && language === "others")) {
root.children.push(child);
};

})

result.children.push(root);
}
}

// delete dataSet.items;
return result;
}

Expand Down

0 comments on commit a77f458

Please sign in to comment.