From 46555b2e2c345042ff058689a4a4b408ceacb839 Mon Sep 17 00:00:00 2001 From: Pedro Pinheiro Date: Mon, 29 Aug 2016 20:30:46 -0300 Subject: [PATCH] Fix inheritance of actions Resolves #629 --- src/utils/AltUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/AltUtils.js b/src/utils/AltUtils.js index 0e5b1e6b..d5f11fb7 100644 --- a/src/utils/AltUtils.js +++ b/src/utils/AltUtils.js @@ -23,7 +23,7 @@ export function getPrototypeChain(Obj, methods = {}) { ? methods : getPrototypeChain( Object.getPrototypeOf(Obj), - fn.assign(methods, getInternalMethods(Obj, true)) + fn.assign(getInternalMethods(Obj, true), methods) ) }