git ssb

0+

wanderer🌟 / referenceMap



Commit 6fa996e4863669d7a6dd929420b068c7d02ae185

fix tracking bug

Signed-off-by: wanderer <mjbecze@gmail.com>
wanderer committed on 2/27/2018, 10:45:16 PM
Parent: 5adc543854197a9ca81796bc58a3019504079c48

Files changed

index.jschanged
package-lock.jsonchanged
package.jsonchanged
index.jsView
@@ -42,15 +42,17 @@
4242 * @param {integer}
4343 * @return {boolean} whether or not the object was deleted
4444 */
4545 delete (ref) {
46 + delete this._map[ref][this.intRefProp]
4647 delete this._map[ref]
4748 }
4849
4950 /**
5051 * clears the referance map of a objects
5152 */
5253 clear () {
54 + this.intRefProp = Symbol('int')
5355 this._map = []
5456 }
5557
5658 /**
package-lock.jsonView
The diff is too large to show. Use a local git client to view these changes.
Old file size: 110074 bytes
New file size: 109685 bytes
package.jsonView
@@ -29,7 +29,7 @@
2929 "devDependencies": {
3030 "coveralls": "^3.0.0",
3131 "nyc": "^11.4.1",
3232 "standard": "^11.0.0",
33- "tape": "^4.8.0"
33 + "tape": "^4.9.0"
3434 }
3535 }

Built with git-ssb-web