Skip to content
Snippets Groups Projects
Commit f7c6e815 authored by Jack Reed's avatar Jack Reed
Browse files

enable instance access to target for Annotation

parent c524dcd9
Branches
Tags
No related merge requests found
...@@ -2,8 +2,9 @@ import AnnotationResource from './AnnotationResource'; ...@@ -2,8 +2,9 @@ import AnnotationResource from './AnnotationResource';
/** */ /** */
export default class Annotation { export default class Annotation {
/** */ /** */
constructor(json) { constructor(json, target) {
this.json = json; this.json = json;
this.target = target;
} }
/** */ /** */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment