monor tweak...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2019-10-10 06:08:28 +03:00
parent bb497e5492
commit 2ee7d40ff2
2 changed files with 3 additions and 3 deletions

View File

@ -719,8 +719,8 @@ function Action(name, doc, ldoc, attrs, func){
meth.toString = func.toString.bind(func)
// setup attrs...
Object.keys(attrs)
.forEach(function(k){ meth[k] = attrs[k] })
Object.assign(meth, attrs)
Object.assign(func, attrs)
return meth
}

View File

@ -1,6 +1,6 @@
{
"name": "ig-actions",
"version": "3.24.1",
"version": "3.24.2",
"description": "",
"main": "actions.js",
"scripts": {