timeline more; spinner; common update;

This commit is contained in:
tmshv committed 2015-03-09 00:43:46 +03:00
1 parent 38fac9c033
commit bed2cfad22
8 files changed
+109 -28

No files matched your search

+4 -2
View File
@@ -2,12 +2,14 @@
* Created by tmshv on 22/11/14.
*/
var query = require("../../utils/net").query;
function APIFeed(http){
this.request = http;
}
APIFeed.prototype.feed = function() {
return this.request.get("/news");
APIFeed.prototype.feed = function(count, portion) {
return this.request.get("/news?"+query([["count", count], ["portion", portion]]));
};
module.exports = APIFeed;