aboutsummaryrefslogtreecommitdiff
path: root/js/lib/hooks.js
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-11-01 19:36:27 -0400
committercash <cash.costello@gmail.com>2011-11-01 19:36:27 -0400
commit5c0bd8a19a294f178ddd6607dd3f624ca34fa5b7 (patch)
treebd7fdc64419d657c24dd10e8301d3347064d1fcf /js/lib/hooks.js
parentdb5cac403c21cc05fa2e34d69c75d1cef583766a (diff)
downloadelgg-5c0bd8a19a294f178ddd6607dd3f624ca34fa5b7.tar.gz
elgg-5c0bd8a19a294f178ddd6607dd3f624ca34fa5b7.tar.bz2
added semi-colons after function expressions
Diffstat (limited to 'js/lib/hooks.js')
-rw-r--r--js/lib/hooks.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/lib/hooks.js b/js/lib/hooks.js
index edfd28f24..7bac471f6 100644
--- a/js/lib/hooks.js
+++ b/js/lib/hooks.js
@@ -136,7 +136,7 @@ elgg.register_instant_hook = function(name, type) {
elgg.assertTypeOf('string', type);
return elgg.push_to_object_array(elgg.config.instant_hooks, name, type);
-}
+};
/**
* Is this hook registered as an instant hook?
@@ -146,7 +146,7 @@ elgg.register_instant_hook = function(name, type) {
*/
elgg.is_instant_hook = function(name, type) {
return elgg.is_in_object_array(elgg.config.instant_hooks, name, type);
-}
+};
/**
* Records that a hook has been triggered.
@@ -156,7 +156,7 @@ elgg.is_instant_hook = function(name, type) {
*/
elgg.set_triggered_hook = function(name, type) {
return elgg.push_to_object_array(elgg.config.triggered_hooks, name, type);
-}
+};
/**
* Has this hook been triggered yet?
@@ -166,7 +166,7 @@ elgg.set_triggered_hook = function(name, type) {
*/
elgg.is_triggered_hook = function(name, type) {
return elgg.is_in_object_array(elgg.config.triggered_hooks, name, type);
-}
+};
elgg.register_instant_hook('init', 'system');
elgg.register_instant_hook('ready', 'system');