From 9b7e90e241b06960c43f1fa072006f9f45bafc9c Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 5 Nov 2016 19:23:11 +0300 Subject: [PATCH] added feature source tag to actions... Signed-off-by: Alex A. Naanou --- features.js | 4 +++- package.json | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/features.js b/features.js index 62f111a..80ac846 100755 --- a/features.js +++ b/features.js @@ -98,7 +98,9 @@ module.FeatureProto = { // mixin actions... if(this.actions != null){ - actions.mixin(this.actions) + this.tag ? + actions.mixin(this.actions, {source_tag: this.tag}) + : actions.mixin(this.actions) } // install handlers... diff --git a/package.json b/package.json index a4358f2..2a08a65 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ig-features", - "version": "1.0.5", + "version": "2.1.0", "description": "", "main": "features.js", "scripts": {