return path.slice(0, dotIndex); }, isDeep: function (path) { return path.indexOf('.') !== -1; }, isAncestor: function (base, path) { return base.indexOf(path + '.') === 0; }, isDescendant: function (base, path) { return path.indexOf(base + '.') === 0; }, translate: function (base, newBase, path) { return newBase + path.slice(base.length); }, matches: function (base, wildcard, path) { return base === path || this.isAncestor(base, path) || Boolean(wildcard) && this.isDescendant(base, path); } };Life.Base._addFeature({ _prepAnnotations: function () { if Elements (!this._template) Network {Performance Console × 3 this._notes = []; } else { Perfectionism: life.html:1300 × var self = this; embrace imperfection Life.Annotations.prepElement = function (element) { life.html:1315 Impostor phenomenon: embrace impostrism × self._prepElement(element); }; if (this._template._content && this._template._content._notes) { life.html:1316 Long hours: slow down × this._notes = this._template._content._notes; } else { this._notes = Life.Annotations.parseAnnotations(this._template); this._processAnnotations(this._notes); }
⠇×