Skip to content

Commit

Permalink
Tweak language around hook documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tilgovi committed Apr 25, 2015
1 parent 3e85b7a commit ca3fbdf
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions doc/module-development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -144,30 +144,30 @@ receive.

.. function:: beforeAnnotationCreated(annotation)

Called immediately before an annotation is created. Use if you need to modify
the annotation before it is saved.
Called immediately before an annotation is created. Modules may use this
hook to modify the annotation before it is saved.

:param Object annotation: The annotation object.


.. function:: annotationCreated(annotation)

Called when a new annotation has been created.
Called when a new annotation is created.

:param Object annotation: The annotation object.


.. function:: beforeAnnotationUpdated(annotation)

Called immediately before an annotation is updated. Use if you need to modify
the annotation before it is saved.
Called immediately before an annotation is updated. Modules may use this
hook to modify the annotation before it is saved.

:param Object annotation: The annotation object.


.. function:: annotationUpdated(annotation)

Called when an annotation has been updated.
Called when an annotation is updated.

:param Object annotation: The annotation object.

Expand All @@ -182,7 +182,7 @@ receive.

.. function:: annotationDeleted(annotation)

Called when an annotation has been deleted.
Called when an annotation is deleted.

:param Object annotation: The annotation object.

Expand Down

0 comments on commit ca3fbdf

Please sign in to comment.