fix $.fn.reverse when prototype.js is present
Fix so that when the user doesn't have permission on an annotation and the annotator instance is readOnly it will not try to hide the undefined controls
Merge pull request #162 from deds/master

fix so that users without update/delete permissions on readOnly annotator doesn't try to operate on non-existent controls
get the lowest common ancestor instead of highest

Fix #166 as reported by @jujug42
Use empty string if prefix is unset or null

This fixes #175. Previously, the prefix defaulted to '/', which results in
`_urlFor` returning URLs of the form '//annotations', which the browser
interprets as a protocol-agnostic full URL.

The fallback prefix should be '', and the check for existence of
`@options.prefix` should not magically convert the empty string into a single
slash.
Add redo paths to gitignore
Bump version -> v1.2.6
Annotator release v1.2.6
Use closures to separate create vs update

Rather than using the presence of a `ranges` property on an annotation
to determine whether it is new or updated, track that information via
one-shot closures subscribed to the editor events. The proper
subscriber registers via the callbacks for adder and annotation edit
clicks where it is known for certain if the annotation is new or
updated.
cleanup comments