diff --git a/src/selection/Selection.js b/src/selection/Selection.js index c8e5416..ec88f8f 100644 --- a/src/selection/Selection.js +++ b/src/selection/Selection.js @@ -47,6 +47,14 @@ export default class Selection { } /** For consistency with WebAnnotation **/ + isEqual(other) { + if (!other) { + return false; + } else { + return this._stub === other._stub; + } + } + get bodies() { return this._stub.body; }