[annotator-dev] Accessing store options in demo.html
Ewald Zietsman
ewald at siyavula.com
Wed Aug 10 09:05:54 UTC 2011
HI all,
How do I access the store's options using this syntax as seen in the
demo.html file?
$('#airlock').annotator()
.annotator('addPlugin', 'Permissions')
.annotator('addPlugin', 'Markdown')
.annotator('addPlugin', 'Tags')
.annotator('addPlugin', 'Store' );
$('#airlock').data('annotator').plugins['Permissions'].setUser("Joe
Bloggs");
I need to set the store's prefix to some value but I can't see how its done
anywhere in the documentation.
Cheers
--
*
Ewald Zietsman
Technical Coor**dinator*
*
*
*
*
Website: www.siyavula.com
The Open Innovation Studio, 27 Buitenkant Street, Cape Town, 8001
A Shuttleworth Foundation Seeded Project
Website: www.shuttleworthfoundation.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20110810/e7cd4b3e/attachment-0001.html>
More information about the annotator-dev
mailing list