mirror of
https://github.com/flynx/actions.js.git
synced 2025-10-28 18:00:11 +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){
|
||||
// we have a hit...
|
||||
if(proto.hasOwnProperty('__mixin_source')
|
||||
&& proto.__mixin_source === from){
|
||||
&& (proto.__mixin_source === from
|
||||
|| proto.__mixin_tag == from)){
|
||||
return pre ? cur : proto
|
||||
}
|
||||
// go to next item in chain...
|
||||
@ -1265,7 +1266,8 @@ module.MetaActions = {
|
||||
// mark the mixin for simpler removal...
|
||||
proto.__mixin_source = from
|
||||
|
||||
if(options.source_tag){
|
||||
// add source tag to proto...
|
||||
if(options && options.source_tag){
|
||||
proto.__mixin_tag = options.source_tag
|
||||
}
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ig-actions",
|
||||
"version": "3.2.1",
|
||||
"version": "3.2.2",
|
||||
"description": "",
|
||||
"main": "actions.js",
|
||||
"scripts": {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user