From b6b99f7389436cce7c46826223094f0d5f59b4db Mon Sep 17 00:00:00 2001 From: John McLear Date: Mon, 5 Nov 2012 12:44:05 +0000 Subject: [PATCH] @redhog said its okay to remove this folder as it serves no purpose --- available_plugins/ep_fintest/.npmignore | 7 ---- available_plugins/ep_fintest/ep.json | 36 ------------------- available_plugins/ep_fintest/otherpart.js | 25 ------------- available_plugins/ep_fintest/package.json | 9 ----- available_plugins/ep_fintest/partlast.js | 3 -- .../ep_fintest/static/js/test.js | 5 --- available_plugins/ep_fintest/static/test.html | 1 - 7 files changed, 86 deletions(-) delete mode 100644 available_plugins/ep_fintest/.npmignore delete mode 100644 available_plugins/ep_fintest/ep.json delete mode 100644 available_plugins/ep_fintest/otherpart.js delete mode 100644 available_plugins/ep_fintest/package.json delete mode 100644 available_plugins/ep_fintest/partlast.js delete mode 100644 available_plugins/ep_fintest/static/js/test.js delete mode 100644 available_plugins/ep_fintest/static/test.html diff --git a/available_plugins/ep_fintest/.npmignore b/available_plugins/ep_fintest/.npmignore deleted file mode 100644 index 74bd365b..00000000 --- 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 4ec8e392..00000000 --- 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 718fb095..00000000 --- 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 + '\ -
  • \ - \ -
  • \ - '; - return cb(); -} diff --git a/available_plugins/ep_fintest/package.json b/available_plugins/ep_fintest/package.json deleted file mode 100644 index e221b5c1..00000000 --- a/available_plugins/ep_fintest/package.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "ep_fintest", - "description": "A test plugin", - "version": "0.0.1", - "author": "RedHog (Egil Moeller) ", - "contributors": [], - "dependencies": {}, - "engines": { "node": ">= 0.4.1 < 0.7.0" } -} diff --git a/available_plugins/ep_fintest/partlast.js b/available_plugins/ep_fintest/partlast.js deleted file mode 100644 index c3f1fc3e..00000000 --- a/available_plugins/ep_fintest/partlast.js +++ /dev/null @@ -1,3 +0,0 @@ -exports.somehook = function (hook_name, args, cb) { - return cb(["partlast:somehook was here"]); -} diff --git a/available_plugins/ep_fintest/static/js/test.js b/available_plugins/ep_fintest/static/js/test.js deleted file mode 100644 index 22d58cc2..00000000 --- a/available_plugins/ep_fintest/static/js/test.js +++ /dev/null @@ -1,5 +0,0 @@ -exports.foo = 42; - -exports.bar = function (hook_name, args, cb) { - return cb(["FOOOO"]); -} \ No newline at end of file diff --git a/available_plugins/ep_fintest/static/test.html b/available_plugins/ep_fintest/static/test.html deleted file mode 100644 index 9e7fc551..00000000 --- a/available_plugins/ep_fintest/static/test.html +++ /dev/null @@ -1 +0,0 @@ -Test bla bla