diff options
Diffstat (limited to 'test/plugins/blocks/index.js')
-rw-r--r-- | test/plugins/blocks/index.js | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/test/plugins/blocks/index.js b/test/plugins/blocks/index.js index 0848238..9bdbe86 100644 --- a/test/plugins/blocks/index.js +++ b/test/plugins/blocks/index.js @@ -39,18 +39,23 @@ module.exports = { }, "test5args": { process: function(blk) { - return "test5"+blk.args.join(',')+"test5"; + return "test5"+blk.args.join(",")+"test5"; } }, "test5kwargs": { process: function(blk) { - var s = blk.args.join(','); + var s = blk.args.join(","); for (var key in blk.kwargs) { - s = s + ','+key+':'+blk.kwargs[key]; + s = s + ","+key+":"+blk.kwargs[key]; } return "test5"+s+"test5"; } }, + "test6context": { + process: function() { + return "test6"+(this.ctx.name)+"test6"; + } + }, } };
\ No newline at end of file |