Commit Graph

518 Commits

Author SHA1 Message Date
ido 364a3e300d 0.5.3 2016-09-28 18:20:11 +03:00
ido 7d69fd08e3 ignore temp playground web site 2016-09-28 18:19:33 +03:00
ido a993f8b172 update dependencies
minor fixes
2016-09-28 18:16:17 +03:00
ido f086cd63ea fix test 2016-07-21 10:55:39 +03:00
Marcus R. Brown 4a403dffbf Fix code generation for rt-template siblings. (#164)
* Clean up the list of propTemplates fixtures.

* Subtract the child index of a rt-template tag by the number of rt-template tags seen.

Fixes wix/react-templates#163.
2016-07-21 10:26:18 +03:00
ido fb3afc9a5b update dependencies 2016-07-21 10:20:20 +03:00
ido 556633d977 compare html with cheerio 2016-07-21 10:20:01 +03:00
Antonino Porcino b3cc40e297 Moved function "jsonText" to be local to "convertText" 2016-07-09 11:56:26 +02:00
Antonino Porcino 854293c589 code formatting 2016-07-09 10:19:44 +02:00
Antonino Porcino 6af5715ea1 Do not normalize whitespaces within { } expressions 2016-07-09 10:19:19 +02:00
Antonino Porcino a6be6ffc9c Type in README.md 2016-07-08 14:11:15 +02:00
Antonino Porcino 36d69bdcb3 Added rt-pre attribute to README.md 2016-07-08 14:09:48 +02:00
Antonino Porcino 6c7d032e15 Updated CLI doc file 2016-07-08 14:09:20 +02:00
Antonino Porcino 720db6c121 Test for --normalize-html-whitespace CLI option 2016-07-08 14:07:27 +02:00
Antonino Porcino 6348e53306 Added --normalize-html-whitespace CLI option 2016-07-08 14:06:47 +02:00
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 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
nino-porcino c3a6e46220 Updated to React v15.1.0 (#143) 2016-07-06 10:33:48 +03:00
Omer Ganim ff5bccdd93 0.5.2 2016-05-15 18:16:04 +03:00
Omer Ganim 2a9bd2b4c9 add context parameter to stateless components (fixes #130) 2016-05-15 18:14:42 +03:00
Omer Ganim 042c73882f 0.5.1 2016-05-15 16:58:05 +03:00
Omer Ganim 1094fa8215 0.5.0 2016-05-15 16:53:55 +03:00
Omer Ganim 66f709592c regenerate playground 2016-05-15 16:48:39 +03:00
Omer Ganim 43019f987e stop transpiling test files 2016-05-15 16:46:09 +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 8103d35585 Change docs to rt-import instead of rt-require 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 731296b27a rebuild playground using dist folder (#96) 2016-05-02 15:59:45 +03:00
Omer Ganim cef886ac7d Use React Templates from dist folder in playground's rt-main (fixes #96) 2016-05-02 15:59:26 +03:00
Omer Ganim 12f94ae357 remove unnecessary ESLint comment 2016-05-02 15:48:16 +03:00
Omer Ganim a64f22e0c8 add node 6 version to travis.yml 2016-05-02 14:52:28 +03:00
Omer Ganim 1a04bdcdf9 add prepublish script 2016-05-02 14:52:15 +03:00
Omer Ganim c138b919be 0.4.4 2016-05-02 14:30:22 +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