Commit graph

128 commits

Author SHA1 Message Date
Ryan Cavanaugh f780d68499 Allow /* comments between < and JSX element name 2015-09-28 16:11:10 -07:00
Ryan Cavanaugh 0e4fdf8373 Use synthetic identifier during emit instead 2015-08-26 16:12:50 -07:00
Ryan Cavanaugh 6b5a14a353 CR feedback 2015-08-26 15:28:21 -07:00
Ryan Cavanaugh c68fc53e37 Correctly emit imported 'React' references in JSX.
Fixes bug #4422
2015-08-26 13:26:51 -07:00
Ryan Cavanaugh 27dabe49e0 Merge remote-tracking branch 'upstream/master' into fix4376_2
# Conflicts:
#	src/compiler/emitter.ts
2015-08-21 14:49:48 -07:00
Ryan Cavanaugh 6eca09b062 Handle non-entities as well 2015-08-20 12:30:12 -07:00
Ryan Cavanaugh 67f81bc53c Convert HTML entities to strings (#4125) 2015-08-20 12:20:28 -07:00
Ryan Cavanaugh f659c9098c Fix React whitespace emit #4376 2015-08-20 11:38:03 -07:00
Ryan Cavanaugh 5f96788ddb Implements #4105 - a string indexer in 'props' disables errors
due to surplus attributes
2015-07-31 09:55:11 -07:00
Ryan Cavanaugh 7e9e920d1e Merge pull request #4079 from RyanCavanaugh/fixJsxSourceMaps
Correctly emit source maps when emitting JSX text under --jsx preserve
2015-07-30 22:11:14 -07:00
Ryan Cavanaugh d4bb3539e0 Add a source map test for JSX preserve 2015-07-29 14:49:57 -07:00
Ryan Cavanaugh da39a8be10 Don't forget about spread attributes 2015-07-28 15:31:39 -07:00
Ryan Cavanaugh fc9b10eeb6 Correctly identify JSX expressions as identifier parents 2015-07-28 13:49:39 -07:00
Ryan Cavanaugh 24d22da804 Merge remote-tracking branch 'upstream/master' into fix3737 2015-07-07 15:36:13 -07:00
Ryan Cavanaugh 363dc03d8e Delete some files that shouldn't have existed 2015-07-07 12:54:20 -07:00
Ryan Cavanaugh 311d20fa99 Fix bug #3737 (exported JSX classes props not validated) 2015-07-07 12:46:58 -07:00
Ryan Cavanaugh 1fa74c56a7 Fix up other React tests 2015-07-07 11:37:55 -07:00
Ryan Cavanaugh 1a8200fea7 Add testcase for #3764 2015-07-07 11:01:34 -07:00
Ryan Cavanaugh 48c48417a6 Properly parse keyword-like identifiers in JSX 2015-07-06 11:42:06 -07:00
Ryan Cavanaugh 40d1719eb7 Add module setting + test files 2015-06-29 11:41:40 -07:00
Ryan Cavanaugh 8180b7d06f Don't error on JSX elements when JSX.Element isn't present 2015-06-25 11:14:45 -07:00
Ryan Cavanaugh 65828c4d9f Spreaded anys should satisfy all required properties 2015-06-24 13:49:59 -07:00
Ryan Cavanaugh c9a925eb75 Unrelated baseline noise 2015-06-22 11:53:55 -07:00
Ryan Cavanaugh e448d8b932 Treat </ as a token in TSX files 2015-06-22 11:53:38 -07:00
Ryan Cavanaugh 25553446ef Misc cleanup 2015-06-22 10:31:00 -07:00
Ryan Cavanaugh 388e73f49f Fix React emit for spread attributes when they are the first attribute 2015-06-19 11:30:34 -07:00
Ryan Cavanaugh b0750c25b2 Fix emit for boolean attributes 2015-06-18 18:37:32 -07:00
Ryan Cavanaugh bc9b53a6fe Conformance tests for JSX 2015-06-18 14:03:43 -07:00