Thanks. The problem is that the `identity` module was not exported. This has already been fixed. I'm making a release right now and I'll announce it on the list.
On Thu, Jul 2, 2015 at 2:07 PM Jorge Franco <[email protected]> wrote: > Hi guys, > > I downloaded the demo of annotator 2.0 (annotator-2.0.0-alpha.2.zip) > https://github.com/openannotation/annotator/releases > > 1) using the simple identification get the following error: > "Uncaught TypeError: Cannot read property 'simple' of undefined" > > <script> > if (typeof annotator === 'undefined') { > alert("Oops! it looks like you haven't built Annotator. " + > "Either download a tagged release from GitHub, or build the > " + > "package by running `make`"); > } else { > > > var pageUri = function () { > return { > beforeAnnotationCreated: function (ann) { > ann.uri = window.location.href; > } > }; > }; > > var app = new annotator.App() > .include(annotator.identity.simple) > .include(annotator.ui.main, {element: document.body}) > .include(annotator.storage.http, {prefix: ' > http://localhost/sgi/slimRESTful'}) > .include(pageUri) > > app.start() > .then(function () { > app.ident.identity = 'joebloggs'; > app.annotations.load(); > }); > } > </script> > > 2)by treating to get the annotations from my store, returned the following > error: "Unknown error while speaking to annotation store! " > > The API work save the annotations, but not load. > > In annotator 1.2 my store, load and save the annotations. > > Thank you very much. > > Congratulations for the very good project. > > _______________________________________________ > annotator-dev mailing list > [email protected] > https://lists.okfn.org/mailman/listinfo/annotator-dev > Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev >
_______________________________________________ annotator-dev mailing list [email protected] https://lists.okfn.org/mailman/listinfo/annotator-dev Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev
