Commit 3f46c853 authored by Tobinsk's avatar Tobinsk
Browse files

Merge branch '6-register-app' into 'master'

Resolve "register app"

Closes #6

See merge request !8
parents a708d2cd 3221ea05
......@@ -82,7 +82,7 @@ class Core {
}
let reporter = this.reporter.find((r) => r.name === name);
if (typeof reporter === 'undefined') {
reporter = { name, reporter: new reporter_1.Reporter(this, interval) };
reporter = { name, reporter: new reporter_1.Reporter(this, interval, name) };
this.reporter.push(reporter);
}
// just return the reporter
......@@ -97,4 +97,4 @@ class Core {
}
}
exports.default = Core;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29yZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9jb3JlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsK0JBQWdDO0FBQ2hDLGdEQUFpRDtBQUNqRCxxQ0FBbUQ7QUFDbkQsbURBQW9FO0FBRXBFLCtDQUF1QztBQUN2Qyx5Q0FBb0Y7QUFDcEYseUJBQTBCO0FBVzFCO0lBZ0NFLFlBQVksSUFBWSxFQUFFLFVBQWtCO1FBTDVDOztXQUVHO1FBQ0ssYUFBUSxHQUFrQyxFQUFFLENBQUM7UUFHbkQsSUFBSSxDQUFDLElBQUksR0FBRyxJQUFJLENBQUM7UUFDakIsSUFBSSxDQUFDLFVBQVUsR0FBRyxVQUFVLENBQUM7UUFDN0I7O1dBRUc7UUFDSCxTQUFTLENBQUMsT0FBTyxFQUFFLENBQUM7UUFFcEI7O1dBRUc7UUFDSCxLQUFLLENBQUMsSUFBSSxFQUFFO2FBQ1QsR0FBRyxDQUFDLEdBQUcsQ0FBQyxDQUFDO1FBRVo7O1dBRUc7UUFDSCxJQUFJLEVBQUUsQ0FBQyxVQUFVLENBQUMsVUFBVSxDQUFDLEVBQUU7WUFDN0IsS0FBSyxDQUFDLElBQUksQ0FBQyxFQUFDLElBQUksRUFBRSxVQUFVLEVBQUMsQ0FBQy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QyxRQUFRLEdBQUcsY0FBYyxDQUFDO1NBQzNCO2FBQU07WUFDTCxJQUFJLEdBQUcsY0FBYyxDQUFDO1NBQ3ZCO1FBRUQsSUFBSSxRQUFRLEdBQUcsSUFBSSxDQUFDLFFBQVEsQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLEVBQUUsRUFBRSxDQUFDLENBQUMsQ0FBQyxJQUFJLEtBQUssSUFBSSxDQUFDLENBQUM7UUFDMUQsSUFBSSxPQUFPLFFBQVEsS0FBSyxXQUFXLEVBQUU7WUFDbkMsUUFBUSxHQUFHLEVBQUMsSUFBSSxFQUFFLFFBQVEsRUFBRSxJQUFJLG1CQUFRLENBQUMsSUFBSSxFQUFFLFFBQVEsRUFBRSxJQUFJLENBQUMsRUFBQyxDQUFDO1lBQ2hFLElBQUksQ0FBQyxRQUFRLENBQUMsSUFBSSxDQUFDLFFBQVEsQ0FBQyxDQUFDO1NBQzlCO1FBQ0QsMkJBQTJCO1FBQzNCLE9BQU8sUUFBUSxDQUFDLFFBQVEsQ0FBQztJQUMzQixDQUFDO0lBRUQ7OztPQUdHO0lBQ0ksYUFBYTtRQUNsQixPQUFPLElBQUkscUJBQVUsQ0FBQyxJQUFJLENBQUMsU0FBUyxFQUFFLENBQUMsQ0FBQztJQUMxQyxDQUFDO0NBQ0Y7QUFFRCxrQkFBZSxJQUFJLENBQUMifQ==
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment