MCPcopy Index your code
hub / github.com/corecoding/Vitals / _init

Method _init

values.js:42–52  ·  view source on GitHub ↗
(settings, sensorIcons)

Source from the content-addressed store, hash-verified

40}, class Values extends GObject.Object {
41
42 _init(settings, sensorIcons) {
43 this._settings = settings;
44 this._sensorIcons = sensorIcons;
45
46 this._networkSpeedOffset = {};
47 this._networkSpeeds = {};
48
49 this._history = {};
50 //this._history2 = {};
51 this.resetHistory();
52 }
53
54 _legible(value, sensorClass) {
55 let unit = 1000;

Callers

nothing calls this directly

Calls 1

resetHistoryMethod · 0.95

Tested by

no test coverage detected