summaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2014-01-27 11:12:27 +0000
committerpad <pad@vm-pad-b.spline.inf.fu-berlin.de>2014-01-27 11:12:27 +0000
commit33b97da914105927bc5800224b9bab0ad1d312c6 (patch)
tree565c8906361f37d4c42ba23c0ea4897f722984d8 /index.js
downloadep_headline_buttons-33b97da914105927bc5800224b9bab0ad1d312c6.tar.gz
ep_headline_buttons-33b97da914105927bc5800224b9bab0ad1d312c6.tar.bz2
ep_headline_buttons-33b97da914105927bc5800224b9bab0ad1d312c6.zip
Initial commit
Diffstat (limited to 'index.js')
-rw-r--r--index.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/index.js b/index.js
new file mode 100644
index 0000000..43b349c
--- /dev/null
+++ b/index.js
@@ -0,0 +1,14 @@
+var eejs = require('ep_etherpad-lite/node/eejs/');
+var Changeset = require("ep_etherpad-lite/static/js/Changeset");
+
+exports.eejsBlock_editbarMenuLeft = function (hook_name, args, cb) {
+ args.content = args.content + eejs.require("ep_headline_buttons/templates/editbarButtons.ejs");
+ return cb();
+}
+
+exports.eejsBlock_styles = function (hook_name, args, cb) {
+ args.content = args.content + eejs.require("ep_headline_buttons/templates/editbarButtons_styles.ejs");
+ return cb();
+}
+
+