UNPKG

dl

Version:

DreamLab Libs

14 lines (10 loc) 329 B
var AbstractMetric = function (name) { this._name = name; }; AbstractMetric.prototype.update = function () { throw new Error('Unimplemented abstract method update'); }; AbstractMetric.prototype.dump = function () { throw new Error('Unimplemented abstract method dump'); }; exports.AbstractMetric = AbstractMetric;