Closed scanham closed 10 years ago
This is the issue @nemtsov was referring to in his note in https://github.com/twitter/hogan.js/pull/149 and I hope it might be what @sayrer is referring to in his last comment on https://github.com/twitter/hogan.js/issues/111.
Oops - test is failing and I didn't see it. Will resubmit once fixed.
@sayrer I can confirm that this fixes the lambda issue I was referring to in #149.
Lambdas in multi-level inheritance situations are currently being substituted incorrectly. This PR should fix that. The problem is that the test to see if activeSub undefined was always returning true for this situation and the text at the highest level was always being used.