Total Complexity | 3 |
Complexity/F | 1 |
Lines of Code | 14 |
Function Count | 3 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | "use strict"; |
||
2 | Object.defineProperty(exports, "__esModule", { value: true }); |
||
3 | var Icon = /** @class */ (function () { |
||
4 | function Icon(id, version, cdn) { |
||
5 | this.id = id; |
||
6 | this.cdn = cdn; |
||
7 | this.version = version; |
||
8 | } |
||
9 | Icon.prototype.getURL = function () { |
||
10 | return this.cdn + "/" + this.version + "/img/profileicon/" + this.id + ".png"; |
||
11 | }; |
||
12 | return Icon; |
||
13 | }()); |
||
14 | exports.Icon = Icon; |
||
15 | //# sourceMappingURL=icon.js.map |