fix(plugin): return originalMethod return value

This commit is contained in:
Tim Lancina
2016-02-16 17:43:00 -06:00
parent ac5c11b768
commit 240f0f87cc
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ function RequiresPlugin(target, key, descriptor) {
exports.pluginWarn(this.name, null, this.name);
return;
}
originalMethod.apply(this, args);
return originalMethod.apply(this, args);
};
return descriptor;
}
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -184,7 +184,7 @@ export function RequiresPlugin(target: Function, key: string, descriptor: TypedP
pluginWarn(this.name, null, this.name);
return;
}
originalMethod.apply(this, args);
return originalMethod.apply(this, args);
}
return descriptor;