summaryrefslogtreecommitdiff
path: root/available_plugins
diff options
context:
space:
mode:
Diffstat (limited to 'available_plugins')
-rw-r--r--available_plugins/ep_fintest/ep.json3
-rw-r--r--available_plugins/ep_fintest/static/js/test.js4
2 files changed, 7 insertions, 0 deletions
diff --git a/available_plugins/ep_fintest/ep.json b/available_plugins/ep_fintest/ep.json
index aec7d9c1..f9e91491 100644
--- a/available_plugins/ep_fintest/ep.json
+++ b/available_plugins/ep_fintest/ep.json
@@ -26,6 +26,9 @@
"somehookname": "ep_fintest/otherpart:somehook",
"morehook": "ep_fintest/otherpart:morehook",
"expressCreateServer": "ep_fintest/otherpart:expressServer"
+ },
+ "client_hooks": {
+ "somehookname": "ep_fintest/static/js/test:bar"
}
}
]
diff --git a/available_plugins/ep_fintest/static/js/test.js b/available_plugins/ep_fintest/static/js/test.js
index 7dc8e61a..22d58cc2 100644
--- a/available_plugins/ep_fintest/static/js/test.js
+++ b/available_plugins/ep_fintest/static/js/test.js
@@ -1 +1,5 @@
exports.foo = 42;
+
+exports.bar = function (hook_name, args, cb) {
+ return cb(["FOOOO"]);
+} \ No newline at end of file