1
0
mirror of https://github.com/bobwen-dev/react-templates synced 2025-04-12 00:56:39 +02:00

175 Commits

Author SHA1 Message Date
Antonino Porcino
bde2f67e01 Support for react native 0.29.0 2016-07-07 13:52:06 +02:00
Antonino Porcino
305d132a48 Emit code with different react-native versions 2016-07-07 13:51:44 +02:00
Antonino Porcino
5dcc94deb5 Multiple --native-target-version in command line argument 2016-07-07 10:38:09 +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
Omer Ganim
7a117400be remove console.log from rtStyle 2016-05-15 16:44:55 +03:00
Omer Ganim
3913453642 refactor import cases in reactSupport to use _.cond pattern matching 2016-05-15 16:44:55 +03:00
Omer Ganim
245c388a1b remove commented out code in RTCodeError 2016-05-15 16:44:55 +03:00
Brian Vella
68b088fe2e basic support for react 15 (#128) 2016-05-15 16:44:28 +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
12f94ae357 remove unnecessary ESLint comment 2016-05-02 15:48:16 +03:00
Omer Ganim
65635f89ef provide a key to virtual node children (#86) 2016-05-02 14:06:23 +03:00
Omer Ganim
3a1fcf6d33 replace util.format with ES6 template strings 2016-05-02 13:53:48 +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
Omer Ganim
4f67fee3b5 update eslint-plugin-lodash to use the plugin recommended settings and fix errors 2016-04-27 13:56:24 +03:00
ido
500b6df9dc update lodash to 4
update dependencies
2016-04-17 10:57:57 +03:00
ido
6353e88bdb fixed #116 2016-04-17 10:20:13 +03:00
maria
e56cd6d06a Change class set template for compatibility with lodash 4 2016-04-06 16:48:40 +03:00
ido
58b8093090 upgrade eslint and plugins 2016-03-02 18:53:49 +02:00
ido
f30ca08076 Merge remote-tracking branch 'origin/gh-pages' into gh-pages 2016-03-02 17:09:26 +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
ido
12578a06a2 Merge branch 'gh-pages' of github.com:wix/react-templates into gh-pages 2016-02-01 11:48:45 +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
f35bb9312a Fixed rt-repeat collection JS parsing 2016-01-01 19:05:23 +01:00
Antonino Porcino
27ad9e1cc0 Deprecated esprima-fb, back to upstream esprima 2016-01-01 18:20:35 +01:00
Antonino Porcino
a3c1dc1dfb Changed to rt-virtual, added tests 2015-12-31 17:47:44 +01:00
Antonino Porcino
e8baaaec01 Fix typo 2015-12-31 15:49:12 +01:00
Antonino Porcino
fff28fd4b3 Support for <virtual> tag 2015-12-31 15:47:09 +01:00
ido
0eb45a549b remove eslint ignores 2015-12-30 15:33:02 +02:00
ido
62f67b81bb make react 14 the default 2015-12-29 12:21:52 +02:00
ido
f79cb7632b use babel to support es6/node4 2015-12-29 12:00:41 +02:00
maria
178f1dfd0e fix eslint error 2015-11-29 17:36:20 +02:00
maria
3fff4db2ae check scope in rt-if and fix eslint warnings 2015-11-29 14:50:09 +02:00
ido
0d35afe4cf fixed #72 2015-11-22 12:22:01 +02:00
ido
cd10ee8b70 update react to 14
cleanups
2015-11-12 12:26:48 +02:00
ido
98af0f40ce fixed #73 2015-11-12 12:26:27 +02:00
ido
0720e7f56a add styles support for react native 2015-11-09 15:07:05 +02:00
ido
8649ecb7be add style support 2015-11-09 14:33:04 +02:00
ido
c72e272c70 expose convert style 2015-11-08 12:40:14 +02:00