UNPKG

chrobject

Version:

Stores chronicles of plain objects as diffs and snapshots

20 lines (19 loc) 444 B
/** * Creator: Christian Hotz * Company: hydra newmedia GmbH * Date: 11.06.16 * * Copyright hydra newmedia GmbH */ "use strict"; var Entity = (function () { function Entity(name, idPath) { this.name = name; this.idPath = idPath; } Entity.prototype.equals = function (other) { return this.name === other.name && this.idPath === other.idPath; }; return Entity; }()); exports.Entity = Entity;