Skip to content

Instantly share code, notes, and snippets.

View rufuspollock's full-sized avatar
🌎
Nothing, nowhere and all of it

Rufus Pollock rufuspollock

🌎
Nothing, nowhere and all of it
View GitHub Profile
@rufuspollock
rufuspollock / annotator-openshakespeare-example.js
Created June 10, 2011 11:36
Example of using Annotator in OpenShakespeare.org
jQuery(function ($) {
var elem = $('#text-to-annotate');
var account_id = '39fc339cf058bd22176771b3e3036609';
var annotator_store = '/annostore' + '/api';
var userid = '';
var options = {};
options.permissions = {};
options.permissions.user = {
'name': '194.104.70.73'
};