summaryrefslogtreecommitdiffstats
path: root/test/plugins/blocks/index.js
blob: 0f5fb87ec62cae21da944aecedd010a4f4b695d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
module.exports = {
    blocks: {
    	"test": {
    		process: function(args) {
    			return "test"+args.body+"test";
    		}
    	},
    	"test2": {
    		end: "endtest2end",
    		process: function(args) {
    			return "test2"+args.body+"test2";
    		}
    	},
        "test3join": {
            blocks: [
                "also"
            ],
            process: function(args) {
                return "test";
            }
        }
    }
};