From 754c559d632c08be58f06c3eedb3a9494c51dedf Mon Sep 17 00:00:00 2001 From: d-a-n Date: Wed, 3 Oct 2012 13:35:31 +0300 Subject: [PATCH] Changed pad hook names to follow naming conventions. --- doc/api/hooks_server-side.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/api/hooks_server-side.md b/doc/api/hooks_server-side.md index 84ca4490..bc56f19b 100644 --- a/doc/api/hooks_server-side.md +++ b/doc/api/hooks_server-side.md @@ -64,7 +64,7 @@ This hook gets called upon the rendering of an ejs template block. For any speci Have a look at `src/templates/pad.html` and `src/templates/timeslider.html` to see which blocks are available. -## padCreated +## padCreate Called from: src/node/db/Pad.js Things in context: @@ -73,16 +73,16 @@ Things in context: This hook gets called when a new pad was created. -## padLoaded +## padLoad Called from: src/node/db/Pad.js Things in context: 1. pad - the pad instance -This hook gets called when an pad was loaded. +This hook gets called when an pad was loaded. If a new pad was created and loaded this event will be emitted too. -## padUpdated +## padUpdate Called from: src/node/db/Pad.js Things in context: @@ -91,7 +91,7 @@ Things in context: This hook gets called when an existing pad was updated. -## padRemoved +## padRemove Called from: src/node/db/Pad.js Things in context: