mirror of
https://github.com/flynx/actions.js.git
synced 2025-10-28 18:00:11 +00:00
minor tweak...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
622a27229c
commit
7d84bea5c4
@ -1138,13 +1138,19 @@ module.MetaActions = {
|
||||
}
|
||||
// source tag actions...
|
||||
if(source_tag && attr instanceof Action){
|
||||
// existing tag...
|
||||
if(that[k].source_tag == source_tag || that[k].func.source_tag == source_tag){
|
||||
return
|
||||
|
||||
// new tag...
|
||||
// XXX not sure if this is the right way to go...
|
||||
if(that[k].source_tag || that[k].func.source_tag){
|
||||
} else if(that[k].source_tag != source_tag || that[k].func.source_tag != source_tag){
|
||||
console.warn('Aactions: about to overwrite source tag...\n'
|
||||
+' from: "'+(that[k].source_tag || that[k].func.source_tag)+'"\n'
|
||||
+' to: "'+source_tag+'"\n'
|
||||
+' on:', that[k])
|
||||
}
|
||||
|
||||
that[k].func.source_tag = source_tag
|
||||
that[k].source_tag = source_tag
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ig-actions",
|
||||
"version": "1.6.1",
|
||||
"version": "1.6.2",
|
||||
"description": "",
|
||||
"main": "actions.js",
|
||||
"scripts": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user