diff --git a/demo/www/app/plugin/plugin.js b/demo/www/app/plugin/plugin.js index 1bb2472d0..3e0465778 100644 --- a/demo/www/app/plugin/plugin.js +++ b/demo/www/app/plugin/plugin.js @@ -46,7 +46,7 @@ export class Plugin { let args = []; if(pluginMethodArgEntry) { - args = pluginMethodArgEntry[method] || []; + args = [pluginMethodArgEntry[method]] || []; console.log('Found some default args', args); }