docs for hook

This commit is contained in:
John McLear 2013-03-19 03:43:38 +00:00
parent 7741f762e2
commit 8406cc95ab
1 changed files with 9 additions and 0 deletions

View File

@ -143,6 +143,15 @@ Things in context:
This hook is called on the client side whenever a user joins or changes. This can be used to create notifications or an alternate user list.
## chatNewMessage
Called from: src/static/js/chat.js
Things in context:
1. msg - The message object
This hook is called on the client side whenever a user recieves a chat message from the server. This can be used to create different notifications for chat messages.
## collectContentPre
Called from: src/static/js/contentcollector.js