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

133 Commits

Author SHA1 Message Date
ido
36ad80b4a1 Merge remote-tracking branch 'origin/gh-pages' into gh-pages 2015-07-29 17:16:06 +03:00
ido
707b5d8fd2 eslint fixes 2015-07-29 17:15:42 +03:00
Ido
70231ea493 Merge pull request #41 from subyraman/gh-pages
Add CLI options to specify lodash/react import paths
2015-07-29 16:57:05 +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
Suby Raman
0fd6ea5045 Set objects to be imported 2015-07-08 10:22:07 -04:00
Suby Raman
691e008c3e Add cli options for react/lodash import paths
Add in options if user wants to specify different paths to lodash or react in their application.
2015-07-08 10:12:44 -04:00
Ido
cfb339845d Merge pull request #39 from liady/gh-pages-es6
convert es6 imports without brackets
2015-05-14 14:39:19 +03:00
Liad Yosef
e8d95c1a47 convert es6 imports without brackets 2015-05-10 17:23:25 +03:00
artemkaint
e9af1eea52 Fix spoiled option 'defines' 2015-05-06 15:52:55 +03:00
Liad Yosef
2114f5705e support "for" attribute in react templates
Add support for using "for" attribute and converting it to DOM API supported "htmlFor"
2015-04-28 12:47:11 +03:00
ido
d12b61ca0b fixed #34 api breaks 2015-04-26 16:37:25 +03:00
ido
2ab86644f0 add context where missing 2015-04-21 17:21:12 +03:00
ido
307084e11d support react 13,
rename string utils method,
warn on rt-if without key
2015-04-21 17:15:03 +03:00
ido
a90e88582c eslint fixes 2015-04-05 17:17:10 +03:00
avim
737272f7c3 finished support for jsrt 2015-04-02 16:00:38 +03:00
avim
084a44b402 added jsrt support 2015-03-29 15:55:40 +03:00
ido
ee604b6a3a fixed #15 2015-03-18 12:13:40 +02:00
ido
e0f3501db7 eslint fixes 2015-03-08 16:11:19 +02:00
avim
faa6b1adf2 added better rt-props support use assign instead of merge and merge correctly style and className 2015-02-26 10:48:44 +02:00
ido
09a46dd543 added jsdoc 2015-02-22 11:16:44 +02:00
ido
4d00e92772 close #pr-14 es6 modules support 2015-02-19 14:45:41 +02:00
ido
cd12a3a4bf fix eslint issues 2015-02-19 13:07:30 +02:00
Bruno Grieder
49b5034f3e Added TypeScript support via the --modules typescript flag 2015-02-17 02:23:08 +01:00
ido
7ae3e11262 eslint 14 and fixes 2015-02-12 10:04:36 +02:00
avim
d1e6d41740 fixed js execution context outside of string nodes needs to concat as string 2015-02-09 10:43:55 +02:00
avim
0af424dd7e change string concat to separate children in the function call, so you don't get [Object object] 2015-02-08 17:26:29 +02:00
ido
2c79edf519 better error reporting, added column and enfOffset, deprecated index 2015-02-01 11:50:05 +02:00
ido
3b9d8579fa increase test coverage 2015-01-22 18:02:18 +02:00
barak igal
bd47783a0c added module id to the compiled output of templateAMDTemplate 2015-01-22 13:01:04 +02:00
avim
36f1edfc1f support style tags - cheerio parses them as special section in the html 2015-01-19 16:22:42 +02:00
avim
5015222f45 support custom-elements 2015-01-19 15:29:42 +02:00
ido
dbcd1f2cbe fix eslint 2015-01-19 13:51:05 +02:00
Avi Marcus
3ba52d1653 replace htmlMode with hard wired list of self closing tags... caused weird problems with rt-require... 2015-01-12 20:08:30 +02:00
ido
f515c17a67 add tests for json output 2015-01-12 15:29:21 +02:00
ido
5ab047cbed fix bug with json output 2015-01-12 15:02:10 +02:00
avim
491a3e6125 html mode instead of xml, fix problem with inputs and br tags caused by html which is not valid xml 2015-01-11 12:13:01 +02:00
Dany Shaanan
93e8c59e37 added eslint rules: no-new-require, block-scoped-var and fixed errors 2015-01-05 14:10:33 +02:00
ido
5d55e210b7 fix eslint issues 2014-12-31 16:41:11 +02:00
ido
5d906b3d6a add support for react 0.12.2 2014-12-31 09:55:06 +02:00
ido
bf3c5d550a improved UI, better samples 2014-12-30 10:42:31 +02:00
ido
349057188a allow generation of globals + ui fixes 2014-12-28 11:47:34 +02:00
Avi Marcus
8fb5fb3674 moved require to rt-require tag instead of inside of doctype and removed doctype completely 2014-12-11 09:30:27 +02:00
ido
01a46e506c eslint fixes 2014-12-04 18:09:27 +02:00
avim
13fffaa55d support React 0.12 & React 0.10/0.11 syntax and dom elements 2014-12-04 14:40:54 +02:00
ido
84c4864602 eslint fixes 2014-12-03 11:36:34 +02:00
avim
b32bba381c intro and samples 2014-12-02 18:59:03 +02:00
ido
a317b0df1a error handling + test 2014-12-02 14:30:06 +02:00
amitk
68b6015bfd Don't ignore whitespace in html text 2014-11-30 10:55:38 +02:00
amitk
edbc8fac9b Added rt-props 2014-11-29 23:32:00 +02:00