Merge pull request #97 from macsj200/patch-1

Add a method to get all attached links
This commit is contained in:
Theodor Diaconu 2017-01-03 08:19:54 +02:00 committed by GitHub
commit d0974e0d19

View file

@ -24,6 +24,10 @@ _.extend(Mongo.Collection.prototype, {
});
},
getLinks() {
return this[linkStorage];
},
getLinker(name) {
if (this[linkStorage]) {
return this[linkStorage][name];