diff options
Diffstat (limited to 'test/plugins/blocks/index.js')
-rw-r--r-- | test/plugins/blocks/index.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/plugins/blocks/index.js b/test/plugins/blocks/index.js index c69801e..0848238 100644 --- a/test/plugins/blocks/index.js +++ b/test/plugins/blocks/index.js @@ -42,5 +42,15 @@ module.exports = { return "test5"+blk.args.join(',')+"test5"; } }, + "test5kwargs": { + process: function(blk) { + var s = blk.args.join(','); + for (var key in blk.kwargs) { + s = s + ','+key+':'+blk.kwargs[key]; + } + + return "test5"+s+"test5"; + } + }, } };
\ No newline at end of file |