From 44b2ba3da789d38f26b6f5080023507f4df19eba Mon Sep 17 00:00:00 2001 From: John McLear Date: Thu, 31 Jan 2013 02:16:20 +0000 Subject: [PATCH] remove cruft and offensive stuff --- client.js | 5 ----- ep.json | 1 - templates/button.html | 1 - update.js | 2 +- 4 files changed, 1 insertion(+), 8 deletions(-) diff --git a/client.js b/client.js index d9660b1..4f465ba 100644 --- a/client.js +++ b/client.js @@ -5,11 +5,6 @@ exports.eejsBlock_scripts = function (hook_name, args, cb) { return cb(); }; -exports.eejsBlock_toolbarRight = function (hook_name, args, cb) { - args.content = args.content + eejs.require("ep_email_notifications/templates/button.html", {}, module); - return cb(); -}; - exports.eejsBlock_embedPopup = function (hook_name, args, cb) { args.content = args.content + eejs.require("ep_email_notifications/templates/embedFrame.html", {}, module); return cb(); diff --git a/ep.json b/ep.json index 37af7f6..02ceb7a 100644 --- a/ep.json +++ b/ep.json @@ -6,7 +6,6 @@ "padUpdate": "ep_email_notifications/update", "handleMessage": "ep_email_notifications/handleMessage", "eejsBlock_scripts": "ep_email_notifications/client", - "eejsBlock_editbarMenuRight": "ep_email_notifications/client:eejsBlock_toolbarRight", "eejsBlock_embedPopup": "ep_email_notifications/client:eejsBlock_embedPopup" }, "client_hooks": { diff --git a/templates/button.html b/templates/button.html index 02d3d6f..e69de29 100644 --- a/templates/button.html +++ b/templates/button.html @@ -1 +0,0 @@ - diff --git a/update.js b/update.js index cc7564b..5324142 100644 --- a/update.js +++ b/update.js @@ -60,7 +60,7 @@ exports.notifyBegin = function(padId){ exports.notifyEnd = function(padId){ // get the modified contents... - + var changesToPad = "Functionality does not exist"; db.get("emailSubscription:" + padId, function(err, recipients){ // get everyone we need to email async.forEach(Object.keys(recipients), function(recipient, cb){