Skip to content

Commit

Permalink
moar moar glossary glossary
Browse files Browse the repository at this point in the history
  • Loading branch information
tilgovi committed Apr 25, 2015
1 parent 4f60915 commit dc6eb88
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions doc/upgrading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -150,14 +150,14 @@ Upgrading a plugin
------------------

The first thing to know about Annotator 2.0 is that we are retiring the use of
the word "plugin". Our documentation and code refers to reusable pieces of code
such as :func:`annotator.storage.http` as "modules". Modules are included into
an :class:`~annotator.App`, and are able to register providers of named
the word "plugin". Our documentation and code refers to a reusable piece of code
such as :func:`annotator.storage.http` as a :term:`module`. Modules are included
into an :class:`~annotator.App`, and are able to register providers of named
interfaces (such as "storage" or "notifier"), as well as providing runnable
"hook functions" that the app calls at important moments. Annotator 1.2's
lifecycle events (``beforeAnnotationCreated``, ``annotationCreated``, etc.) are
still available as hooks, and it should be reasonably straightforward to migrate
plugins that simply respond to lifecycle events.
:term:`hook` functions that are called at important moments. The lifecycle
events in Annotator 1.2 (``beforeAnnotationCreated``, ``annotationCreated``,
etc.) are still available as hooks, and it should be reasonably straightforward
to migrate plugins that simply respond to lifecycle events.

The second important observation is that Annotator 2.0 is written in JavaScript,
not CoffeeScript. You may continue to write modules in any dialect you like,
Expand Down

0 comments on commit dc6eb88

Please sign in to comment.