summaryrefslogtreecommitdiffstats
path: root/trunk/etherpad/src
diff options
context:
space:
mode:
authorEgil Moeller <egil.moller@freecode.no>2010-03-13 11:24:20 +0100
committerEgil Moeller <egil.moller@freecode.no>2010-03-13 11:24:20 +0100
commit92766384ed576eed342b53cee21b95564c0fce1e (patch)
treee23d9bf6c1fd3db29a344e3ab081ce1ac0253a25 /trunk/etherpad/src
parentf0103348955a6e282ad608228b310035d5a868e9 (diff)
downloadetherpad-92766384ed576eed342b53cee21b95564c0fce1e.tar.gz
etherpad-92766384ed576eed342b53cee21b95564c0fce1e.tar.bz2
etherpad-92766384ed576eed342b53cee21b95564c0fce1e.zip
Bugfixed the kafoo test-plugin so that it doesn't generate copious amounts of debug info
Diffstat (limited to 'trunk/etherpad/src')
-rw-r--r--trunk/etherpad/src/plugins/kafoo/main.js12
1 files changed, 10 insertions, 2 deletions
diff --git a/trunk/etherpad/src/plugins/kafoo/main.js b/trunk/etherpad/src/plugins/kafoo/main.js
index d0ef442..f645576 100644
--- a/trunk/etherpad/src/plugins/kafoo/main.js
+++ b/trunk/etherpad/src/plugins/kafoo/main.js
@@ -1,8 +1,16 @@
-hooks = ['nahook', 'fiehook'];
-description = 'Kabar';
+import("etherpad.log");
+
+function init() {
+ this.hooks = [];
+ this.description = 'KaBar plugin';
+ this.install = install;
+ this.uninstall = uninstall;
+}
function install() {
+ log.info("Installing testplugin");
}
function uninstall() {
+ log.info("Uninstalling testplugin");
}