For consistency with WebAnnotation
This commit is contained in:
parent
285ba55ea5
commit
4bd9c282e8
|
@ -41,6 +41,11 @@ export default class Selection {
|
|||
return this.underlying.target;
|
||||
}
|
||||
|
||||
get targets() {
|
||||
return (Array.isArray(this.underlying.target)) ?
|
||||
this.underlying.target : [ this.underlying.target ];
|
||||
}
|
||||
|
||||
/** For consistency with WebAnnotation **/
|
||||
isEqual(other) {
|
||||
if (!other) {
|
||||
|
|
Loading…
Reference in New Issue