diff --git a/available_plugins/ep_fintest/.npmignore b/available_plugins/ep_fintest/.npmignore deleted file mode 100644 index 74bd365b4..000000000 --- a/available_plugins/ep_fintest/.npmignore +++ /dev/null @@ -1,7 +0,0 @@ -.git* -docs/ -examples/ -support/ -test/ -testing.js -.DS_Store diff --git a/available_plugins/ep_fintest/ep.json b/available_plugins/ep_fintest/ep.json deleted file mode 100644 index 4ec8e3924..000000000 --- a/available_plugins/ep_fintest/ep.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "parts": [ - { - "name": "somepart", - "pre": [], - "post": ["ep_onemoreplugin/partone"] - }, - { - "name": "partlast", - "pre": ["ep_fintest/otherpart"], - "post": [], - "hooks": { - "somehookname": "ep_fintest/partlast:somehook" - } - }, - { - "name": "partfirst", - "pre": [], - "post": ["ep_onemoreplugin/somepart"] - }, - { - "name": "otherpart", - "pre": ["ep_fintest/somepart", "ep_otherplugin/main"], - "post": [], - "hooks": { - "somehookname": "ep_fintest/otherpart:somehook", - "morehook": "ep_fintest/otherpart:morehook", - "expressCreateServer": "ep_fintest/otherpart:expressServer", - "eejsBlock_editbarMenuLeft": "ep_fintest/otherpart:eejsBlock_editbarMenuLeft" - }, - "client_hooks": { - "somehookname": "ep_fintest/static/js/test:bar" - } - } - ] -} diff --git a/available_plugins/ep_fintest/otherpart.js b/available_plugins/ep_fintest/otherpart.js deleted file mode 100644 index 718fb095c..000000000 --- a/available_plugins/ep_fintest/otherpart.js +++ /dev/null @@ -1,25 +0,0 @@ -test = require("ep_fintest/static/js/test.js"); -console.log("FOOO:", test.foo); - -exports.somehook = function (hook_name, args, cb) { - return cb(["otherpart:somehook was here"]); -} - -exports.morehook = function (hook_name, args, cb) { - return cb(["otherpart:morehook was here"]); -} - -exports.expressServer = function (hook_name, args, cb) { - args.app.get('/otherpart', function(req, res) { - res.send("Abra cadabra"); - }); -} - -exports.eejsBlock_editbarMenuLeft = function (hook_name, args, cb) { - args.content = args.content + '\ -