[annotator-dev] Destroy Method added 6 months ago...cant find it
Michael Scharf
annotator at scharf.gr
Sun Jan 19 22:21:52 UTC 2014
Here is the commit containing the destroy methods:
https://github.com/okfn/annotator/commit/8f6be350126cc32bbd00fc2fb9291d73aac74e4f
It is here in the master branch:
https://github.com/okfn/annotator/blob/master/src/annotator.coffee#L220
which is this commit (today)
https://github.com/okfn/annotator/blob/cd105c853a558449b53e04615fca66169395fea3/src/annotator.coffee#L220
I have to say, that I am a bit lost in all the different branches
and forks (e.g https://github.com/hypothesis/annotator with lots
of branches but this specific commit is lost somewhere).
I wonder if there is a way to figure out which repositories and which
branches contain the commit above.
Michael
On 2014-01-15 20:58, Mark Graves wrote:
> Hey Everyone,
>
> Sorry if I've missed out on the documentation for this somewhere.
>
> I'm using dynamically generated content that will be annotated, and I'm getting two errors.
>
> First, it complains about passing annotator an empty element (can't get element by id), I presume this is because I destroy and then append the new content in a div which didn't exist in the dom when jquery loaded.
>
> Second, it says you cannot have more than one instance of any plugin at a time.
>
> I saw a merge about 6 months ago adding a destroy method, but I can't seem to find documentation for it or it in the source.
>
> Anyone know the command?
>
> Thanks!
>
> Mark
>
>
> _______________________________________________
> annotator-dev mailing list
> annotator-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/annotator-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev
>
More information about the annotator-dev
mailing list