From bd4dd121b831eaba593ff34494b1f8434c3a16cf Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 10 Oct 2015 11:44:26 -0500 Subject: [PATCH] Fix single issue with passing paramters to state functions in parent blocks. --- lib/client/component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client/component.js b/lib/client/component.js index 7fc445f..83092bb 100644 --- a/lib/client/component.js +++ b/lib/client/component.js @@ -57,7 +57,7 @@ Component.prototype._getState = function(name) { // This is how we do it. if(value === undefined && this._blockMode && self._parent) { // we can check it from the parent. - return self._parent._getState(name); + return Component.prototype._getState.apply(self._parent, arguments); } else { return value; }