mirror of
https://github.com/flynx/actions.js.git
synced 2025-10-29 10:20:09 +00:00
mixout now supports tags...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
8b7f09f7d2
commit
716e33ab8d
@ -1166,7 +1166,8 @@ module.MetaActions = {
|
|||||||
while(proto != null){
|
while(proto != null){
|
||||||
// we have a hit...
|
// we have a hit...
|
||||||
if(proto.hasOwnProperty('__mixin_source')
|
if(proto.hasOwnProperty('__mixin_source')
|
||||||
&& proto.__mixin_source === from){
|
&& (proto.__mixin_source === from
|
||||||
|
|| proto.__mixin_tag == from)){
|
||||||
return pre ? cur : proto
|
return pre ? cur : proto
|
||||||
}
|
}
|
||||||
// go to next item in chain...
|
// go to next item in chain...
|
||||||
@ -1265,7 +1266,8 @@ module.MetaActions = {
|
|||||||
// mark the mixin for simpler removal...
|
// mark the mixin for simpler removal...
|
||||||
proto.__mixin_source = from
|
proto.__mixin_source = from
|
||||||
|
|
||||||
if(options.source_tag){
|
// add source tag to proto...
|
||||||
|
if(options && options.source_tag){
|
||||||
proto.__mixin_tag = options.source_tag
|
proto.__mixin_tag = options.source_tag
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ig-actions",
|
"name": "ig-actions",
|
||||||
"version": "3.2.1",
|
"version": "3.2.2",
|
||||||
"description": "",
|
"description": "",
|
||||||
"main": "actions.js",
|
"main": "actions.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user