From f7c6e81550c8d9133b1b343548c192c9eed0198d Mon Sep 17 00:00:00 2001 From: Jack Reed <phillipjreed@gmail.com> Date: Fri, 15 Mar 2019 16:52:58 -0600 Subject: [PATCH] enable instance access to target for Annotation --- src/lib/Annotation.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/Annotation.js b/src/lib/Annotation.js index b5cee20b8..a30854a65 100644 --- a/src/lib/Annotation.js +++ b/src/lib/Annotation.js @@ -2,8 +2,9 @@ import AnnotationResource from './AnnotationResource'; /** */ export default class Annotation { /** */ - constructor(json) { + constructor(json, target) { this.json = json; + this.target = target; } /** */ -- GitLab