mirror of
https://github.com/flynx/actions.js.git
synced 2025-10-28 18:00:11 +00:00
minor fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
2166fa31ac
commit
2da1b17fb9
@ -1516,9 +1516,10 @@ function Actions(a, b){
|
||||
// attrs...
|
||||
var last = arg[arg.length-1]
|
||||
var attrs = last != null && typeof(last) != typeof('str') ? arg.pop() : {}
|
||||
var ldoc = typeof(arg[1]) == typeof('str') ? arg[1] : null
|
||||
|
||||
// create a new action...
|
||||
var a = obj[k] = new Action(k, arg[0], arg[1], func)
|
||||
var a = obj[k] = new Action(k, arg[0], ldoc, func)
|
||||
|
||||
// setup attrs...
|
||||
Object.keys(attrs)
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ig-actions",
|
||||
"version": "3.0.0",
|
||||
"version": "3.0.1",
|
||||
"description": "",
|
||||
"main": "actions.js",
|
||||
"scripts": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user