mirror of
https://github.com/vale981/grapher
synced 2025-03-06 01:51:38 -05:00
Merge pull request #97 from macsj200/patch-1
Add a method to get all attached links
This commit is contained in:
commit
d0974e0d19
1 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,10 @@ _.extend(Mongo.Collection.prototype, {
|
|||
});
|
||||
},
|
||||
|
||||
getLinks() {
|
||||
return this[linkStorage];
|
||||
},
|
||||
|
||||
getLinker(name) {
|
||||
if (this[linkStorage]) {
|
||||
return this[linkStorage][name];
|
||||
|
|
Loading…
Add table
Reference in a new issue