Antonino Porcino
d80de30f62
Forbid rt-repeat in root nodes ( fix #171 )
2016-07-08 12:19:35 +02:00
Antonino Porcino
9b8d15a530
Restrict attributes on rt-virtual ( fix #152 )
2016-07-08 11:45:16 +02:00
Antonino Porcino
4559fdf744
refactored test code eliminating repeating functions
2016-07-08 09:50:18 +02:00
Antonino Porcino
c801cb6acf
Do not discard non breaking space ( fix #151 )
2016-07-08 08:58:55 +02:00
Antonino Porcino
fb8d4028dd
Test for react-native 0.29.0
2016-07-07 13:52:23 +02:00
Antonino Porcino
a993ebffde
Fix #167 --native CLI behaviour
2016-07-06 19:53:42 +02:00
nino-porcino
46caeea387
Fix #138 , #139 , #134 , #144 , #145 , #147 , #157 , #158 , #161 , #162 ( #142 )
...
* Single child for rt-template (fixes #138 )
* Nested scope functions (fixes #139 )
* Forbid nested rt-import (fixes #134 )
* Vendor prefixes style keys (#144 )
* Renamed test file
* Forbid expressions in style keys (#145 )
* fixed rt-import and AMD (#147 )
* Updated documentation
* Fixed links in README.md
* Sanitize comments (fix #158 )
* Disable comments when es6 (fix#157)
* Added test case for comments
* Simplified TypeScript output
* Test cases for simplified TypeScript output
* Fixed wrong TypeScript output (#161 )
* fix repeat with custom index (#162 )
2016-07-06 11:25:08 +03:00
Omer Ganim
2a9bd2b4c9
add context parameter to stateless components ( fixes #130 )
2016-05-15 18:14:42 +03:00
Omer Ganim
dc9e84e99b
add option for custom index variable in react templates ( fixes #88 )
2016-05-15 16:44:55 +03:00
Omer Ganim
5b6eb7222c
add rt-stateless option for stateless functional components ( fixes #75 )
2016-05-15 16:44:55 +03:00
Omer Ganim
63be2c9968
make default options be contingent on actual other options
2016-05-15 16:44:55 +03:00
nino-porcino
c495a02452
New syntax for rt-require: "import" "from" ( #125 )
...
* New syntaxt for rt-require import="" from=""
* Added warning message for obsolete syntax
* Allow to import multiple names from the same module
* Added tests for rt-require new import syntax
* Removed unneded comment
* Separated rt-require into rt-require and rt-import
* Tests for rt-require and rt-import
2016-05-15 13:58:24 +03:00
nino-porcino
b2483bd2de
Automatically add key to "rt-if" if missing ( fixes #99 )
2016-05-02 17:05:54 +03:00
Omer Ganim
65635f89ef
provide a key to virtual node children ( #86 )
2016-05-02 14:06:23 +03:00
Omer Ganim
232e0de5cf
move reactTemplates internals to utils and refactor tests
2016-05-02 13:47:04 +03:00
Omer Ganim
4bbbfec3e8
enable rule prefer-arrow-callback and fix errors
2016-04-27 14:05:42 +03:00
Omer Ganim
5b664b9904
enable rule object-shorthand and fix errors
2016-04-27 14:04:35 +03:00
Omer Ganim
4cb8c4524c
enable rules no-var and prefer-const and fix errors
2016-04-27 14:04:02 +03:00
Omer Ganim
4c385d5525
add eslint config wix-editor and fix errors
2016-04-27 14:01:18 +03:00
ido
58b8093090
upgrade eslint and plugins
2016-03-02 18:53:49 +02:00
Avi Marcus
6bc41f0113
made rt-include self closing to prevent future bugs
2016-02-04 16:30:50 +02:00
Avi Marcus
9d38cbb828
added rt-include, not in playground as the only interesting use case for playground is with url support and that requires changing the entire code to be async
2016-02-04 16:21:34 +02:00
Avi Marcus
63ef4541ae
merge of nippur72 changes regarding rt-virtual
2016-01-13 13:40:28 +02:00
Avi Marcus
b67efbf278
Merge pull request #89 from nippur72/safe-parsing
...
Correctly parse rt-repeat object literal collection
2016-01-13 12:10:43 +02:00
Antonino Porcino
510d394e2b
Updated escodegen, fixed es6 test
2016-01-03 10:59:35 +01:00
Antonino Porcino
9375b8e2d1
Added test for rt-repeat over object literal collection
2016-01-01 19:22:35 +01:00
Antonino Porcino
a3c1dc1dfb
Changed to rt-virtual, added tests
2015-12-31 17:47:44 +01:00
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
e73e15b186
add svg to test
2015-11-12 12:29:55 +02:00
ido
cd10ee8b70
update react to 14
...
cleanups
2015-11-12 12:26:48 +02:00
ido
2d98822e5d
cleanup
2015-11-12 10:26:22 +02:00
ido
0720e7f56a
add styles support for react native
2015-11-09 15:07:05 +02:00
ido
ae8f04596e
support for css for react native
2015-11-08 12:15:34 +02:00
ido
008d370fe0
extract code from test
2015-09-10 13:48:29 +03:00
ido
7b86b2a11d
refactoring code out
2015-09-03 15:44:37 +03:00
ido
e9376d990b
test fix for #63
2015-09-03 11:01:01 +03:00
ido
205546eb3c
fixed #63
2015-09-03 10:53:48 +03:00
ido
b3fd044344
close #62
2015-09-03 10:14:51 +03:00
Nir Natan
08aa36a2f1
Add support for React Native
2015-08-19 20:20:31 +03:00
Nir Natan
4ee34d21ae
convert 'template' tag to 'rt-template'
2015-08-17 17:39:09 +03:00
Nir Natan
78799bfca7
add support for function templates props
2015-08-09 23:37:33 +03:00
ido
0e744736ce
fixed #52
2015-08-02 17:16:55 +03:00
ido
accef5fb0f
merge #45
2015-07-30 13:41:55 +03: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
ido
707b5d8fd2
eslint fixes
2015-07-29 17:15:42 +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
anchann
88dc5544e8
Allow trailing semicolon in rt-scope
...
Rationale: it is natural for many developers to place a trailing
semicolon after the last scope alias pair, just as they do after every
preceding pair in the list. Since it is possible to save them time (and
perhaps frustration) at no cost in terms of semantics and safety, we
should do so.
On tests. Wasn't sure if this should be broken out into a separate test,
or bundled together with the existing one.
2015-07-27 13:57:16 +09:00
ido
cee215c081
fix error not clearing in playground
2015-07-07 11:54:59 +03:00