Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (26 sloc) 738 Bytes
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var Vue = require("vue");
var rdjs = require("rdjs");
var app = new Vue({
el: "#app"
});
var UserRepository = (function () {
/**
*
*/
function UserRepository(serverurl) {
this.serverurl = serverurl;
}
UserRepository.prototype.GetUser = function (page, size) {
if (page === void 0) { page = 1; }
if (size === void 0) { size = 5; }
var params = "?_page=" + page + "&_limit=" + size;
rdjs.get(this.serverurl, params).then(function (data) {
return data;
});
};
return UserRepository;
}());
exports.UserRepository = UserRepository;
//# sourceMappingURL=scroller.js.map