Updated docs for new pad hooks (add, edit, remove)

This commit is contained in:
d-a-n 2012-10-02 22:11:54 +03:00
parent 07c33c77c4
commit c0f2e557d3
1 changed files with 8 additions and 0 deletions

View File

@ -67,6 +67,8 @@ Have a look at `src/templates/pad.html` and `src/templates/timeslider.html` to s
## padCreated
Called from: src/node/db/Pad.js
Things in context:
1. pad - the pad instance
This hook gets called when a new pad was created.
@ -74,6 +76,8 @@ This hook gets called when a new pad was created.
## padLoaded
Called from: src/node/db/Pad.js
Things in context:
1. pad - the pad instance
This hook gets called when an pad was loaded.
@ -81,6 +85,8 @@ This hook gets called when an pad was loaded.
## padUpdated
Called from: src/node/db/Pad.js
Things in context:
1. pad - the pad instance
This hook gets called when an existing pad was updated.
@ -88,6 +94,8 @@ This hook gets called when an existing pad was updated.
## padRemoved
Called from: src/node/db/Pad.js
Things in context:
1. pad - the pad instance
This hook gets called when an existing pad was removed/deleted.