Commit Graph

9 Commits

Author SHA1 Message Date
ido f79cb7632b use babel to support es6/node4 2015-12-29 12:00:41 +02:00
maria 3fff4db2ae check scope in rt-if and fix eslint warnings 2015-11-29 14:50:09 +02:00
ido 3415de3661 Merge branch 'scope-variable-references' of https://github.com/anchann/react-templates into anchann-scope-variable-references 2015-07-30 13:40:39 +03:00
ido 02f4c08bd3 close #43 2015-07-29 17:47:13 +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
ido f63fa8e366 add coverage and update dependencies 2015-01-25 11:18:35 +02:00
Dany Shaanan 3978843047 added target to gitignore 2015-01-05 14:11:04 +02:00
ido 2b20484bf0 publish to npm 2014-12-30 18:10:18 +02:00
avim e7ef23971d Initial version 2014-11-10 12:55:24 +02:00