VisibilityRestriction.toString
This commit is contained in:
parent
9a8898e8ec
commit
f19ecb69c8
|
@ -413,6 +413,10 @@ function VisibilityRestriction(paths, term) {
|
|||
this.term = term;
|
||||
}
|
||||
|
||||
VisibilityRestriction.prototype.toString = function () {
|
||||
return "VisibilityRestriction(" + this.paths.toString() + "," + this.term.toString() + ")";
|
||||
};
|
||||
|
||||
function unscope(a) {
|
||||
return (a instanceof VisibilityRestriction) ? a.term : a;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue