diff options
author | Egil Moeller <egil.moller@freecode.no> | 2010-03-25 18:21:35 +0100 |
---|---|---|
committer | Egil Moeller <egil.moller@freecode.no> | 2010-03-25 18:21:35 +0100 |
commit | f7dd3aa34cad8a59ad00172339c565731ad80fbb (patch) | |
tree | 89bace287097a264736fa361ec0898bba420c0f8 /etherpad/src/plugins/twitterStyleTags/main.js | |
parent | e411a43b1b217e3d3f893bcbc0c23c6fd4ec0b6d (diff) | |
download | etherpad-f7dd3aa34cad8a59ad00172339c565731ad80fbb.tar.gz etherpad-f7dd3aa34cad8a59ad00172339c565731ad80fbb.tar.bz2 etherpad-f7dd3aa34cad8a59ad00172339c565731ad80fbb.zip |
Generalized linestylefilter.getURLFilter to a linestylefilter.getRegexpFilter
Diffstat (limited to 'etherpad/src/plugins/twitterStyleTags/main.js')
-rw-r--r-- | etherpad/src/plugins/twitterStyleTags/main.js | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/etherpad/src/plugins/twitterStyleTags/main.js b/etherpad/src/plugins/twitterStyleTags/main.js new file mode 100644 index 0000000..686c863 --- /dev/null +++ b/etherpad/src/plugins/twitterStyleTags/main.js @@ -0,0 +1,23 @@ +import("etherpad.log"); +import("plugins.twitterStyleTags.hooks"); +import("plugins.twitterStyleTags.static.js.main"); + +function init() { + this.hooks = ['handlePath']; + this.client = new main.init(); + this.description = 'Twitter-style tags'; + this.handlePath = hooks.handlePath; + this.aceGetFilterStack = hooks.aceGetFilterStack; + + this.install = install; + this.uninstall = uninstall; +} + +function install() { + log.info("Installing Twitter-style tags"); +} + +function uninstall() { + log.info("Uninstalling Twitter-style tags"); +} + |