Commit Graph

2 Commits

Author SHA1 Message Date
ido 205546eb3c fixed #63 2015-09-03 10:53:48 +03:00
anchann 0c5fee07a7 In rt-scope subsequent aliases should be able to reference preceding ones
Rationale: It is typical to want to alias multiple subtrees of a nested
structure in a single rt-scope statement, like so:

<div rt-scope="this.props.user as user; user.profile as profile;
user.friends as friends">

This was not possible because of the function parameter based
implementation of rt-scope. I tweaked it a bit to use var declaration
instead, while preserving the parameter-based passing for all child
scopes.
2015-07-27 15:56:10 +09:00