Commit Graph

7968 Commits

Author SHA1 Message Date
progre 52c99634ff #4396 fix error message typo 2015-09-05 11:16:27 +09:00
Daniel Rosenwasser 4a85546f94 Merge pull request #4497 from weswigham/patch-4
Add system argument to readConfigFile
2015-09-04 18:10:46 -07:00
Daniel Rosenwasser 69b9a1b74a Merge pull request #4658 from weswigham/patch-5
Add debug option to runtests
2015-09-04 18:08:48 -07:00
Wesley Wigham bd520e10ca Add debug option to runtests
Running `runtests` with `debug` will cause mocha to run in debug mode and break on the first line, enabling one to connect a debugger to the running tests and step through a test at their leisure.
2015-09-04 18:01:43 -07:00
Mohamed Hegazy d8c6f7edc3 fix additional places where class expression should be queried 2015-09-04 17:46:26 -07:00
Mohamed Hegazy 3a08af1450 Check for class expressions as well as class declarations 2015-09-04 17:45:57 -07:00
vilicvane 8d45711395 Else on the next line 2015-09-05 06:43:37 +08:00
Vladimir Matveev 2d37a44df4 Merge pull request #4646 from Microsoft/formattingJsxAttributes
handle jsx identifiers correctly, indent content of JsxSelfClosingEle…
2015-09-04 12:59:13 -07:00
Daniel Rosenwasser 6c23a6b534 Merge pull request #4638 from SaschaNaz/fixCommentIndentation
Fix comment indentation
2015-09-04 12:15:30 -07:00
Sheetal Nandi 46c005749b Merge branch 'release-1.6' 2015-09-04 11:21:41 -07:00
Sheetal Nandi 0573c0b006 Merge pull request #4599 from Microsoft/decoratorInferredType
If Type annotation is missing, emit design:Type as Object
2015-09-04 11:19:17 -07:00
Vladimir Matveev 35d608692b handle jsx identifiers correctly, indent content of JsxSelfClosingElement 2015-09-04 10:53:33 -07:00
vilicvane 32d8a22990 Add tests for issue #4603 2015-09-04 22:15:10 +08:00
vilicvane 856f2d895c Fix issue #4603 2015-09-04 21:47:28 +08:00
SaschaNaz 4aded270f7 move declaration into the block 2015-09-04 21:54:14 +09:00
SaschaNaz b0f0dc1fd8 add tests for comments 2015-09-04 21:38:39 +09:00
SaschaNaz 59f5ce4582 fix comment indentation 2015-09-04 19:35:07 +09:00
Vladimir Matveev f47650c3b3 Merge pull request #4631 from Microsoft/formattingFixesFromMaster
Port formatting related issues from master
2015-09-03 13:52:39 -07:00
Vladimir Matveev ff640e415f fix 'findPrecedingToken' for jsxText 2015-09-03 13:33:22 -07:00
SaschaNaz 58c732b47d format class expression indentation 2015-09-03 13:33:05 -07:00
SaschaNaz 40112c5137 fix test 2015-09-03 13:32:45 -07:00
SaschaNaz b8071f99bc format intersection type 2015-09-03 13:32:34 -07:00
Vladimir Matveev e484305c98 allow backslashes in fileName argument of the transpile function 2015-09-03 13:31:57 -07:00
Vladimir Matveev dc86736820 Merge pull request #4596 from Microsoft/jsxIndentation
fix 'findPrecedingToken' for jsxText
2015-09-03 13:29:44 -07:00
Vladimir Matveev 4f4c8ee12d Merge pull request #4627 from Microsoft/backslashesInTranspile
allow backslashes in fileName argument of the transpile function
2015-09-03 13:29:27 -07:00
Vladimir Matveev feddff0b7b Merge pull request #4622 from SaschaNaz/fixClassExpressionIndent
Fix class expression indentation
2015-09-03 11:59:50 -07:00
Vladimir Matveev 3c96e70766 Merge pull request #4623 from SaschaNaz/formatIntersectionType
Format intersection type
2015-09-03 11:59:23 -07:00
Daniel Rosenwasser fafbec60de Merge pull request #4552 from Microsoft/bettErrErrorsForObjectLiteralExcessProperties
Better error spans for object literal excess properties
2015-09-03 10:03:53 -07:00
Vladimir Matveev 9a78b66068 allow backslashes in fileName argument of the transpile function 2015-09-03 09:25:43 -07:00
SaschaNaz b8e91814bb fix test 2015-09-03 22:45:41 +09:00
SaschaNaz dfde9e4e10 format intersection type 2015-09-03 22:33:07 +09:00
SaschaNaz 8d1d0d8d70 format class expression indentation 2015-09-03 22:07:52 +09:00
SaschaNaz 9e0949b84b Merge remote-tracking branch 'Microsoft/master' 2015-09-03 20:58:58 +09:00
Zhengbo Li 3c568251bb Merge pull request #4557 from gwicksted/patch-1
Add parameters to toLocaleDateString
2015-09-02 17:29:31 -07:00
Zhengbo Li 690b87c209 Merge pull request #4557 from gwicksted/patch-1
Add parameters to toLocaleDateString
2015-09-02 16:02:42 -07:00
Vladimir Matveev 0913f07a82 Merge pull request #4607 from Microsoft/port-4592
remove 'experimental' from 'moduleResolution' command line argument
2015-09-02 11:40:05 -07:00
Vladimir Matveev cd6152ebe6 remove 'experimental' from 'moduleResolution' command line argument 2015-09-02 10:01:28 -07:00
Graeme Wicksted 03da2ce42b Added toLocaleTimeString variations
See [Mozilla Reference ](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toLocaleTimeString)
2015-09-02 10:19:49 -04:00
Vladimir Matveev 06e25377ff Merge pull request #4592 from Microsoft/noExperimetntalForModuleResolutionFlag
remove 'experimental' from 'moduleResolution' command line argument
2015-09-01 15:28:00 -07:00
Sheetal Nandi 5f78d39662 If Type annotation is missing, emit design:Type as Object
Fixes #4549
2015-09-01 13:46:44 -07:00
Anders Hejlsberg 66e3abaa12 Accepting new baselines 2015-09-01 13:17:02 -07:00
Anders Hejlsberg f28e424d31 Adding tests 2015-09-01 13:16:54 -07:00
Anders Hejlsberg c436736e1e Adding a few comments 2015-09-01 13:15:43 -07:00
Vladimir Matveev 538d5b9480 fix 'findPrecedingToken' for jsxText 2015-09-01 12:41:48 -07:00
Anders Hejlsberg e78478b767 More flexible rules when destructuring have literal initializers 2015-09-01 12:34:29 -07:00
Vladimir Matveev 3e2be80d8a remove 'experimental' from 'moduleResolution' command line argument 2015-09-01 11:09:41 -07:00
Yui T 1854adb56b address PR 2015-08-31 20:33:02 -07:00
Daniel Rosenwasser 90b345c01e Merge pull request #4575 from Microsoft/bettErrErrorsForObjectLiteralExcessPropertiesInMaster
Better error spans for object literal excess properties (into branch 'master')
2015-08-31 15:36:01 -07:00
Daniel Rosenwasser ad3cca3d4f Added comment, inlined function. 2015-08-31 15:04:25 -07:00
Daniel Rosenwasser 5ff945bc5e Style. 2015-08-31 15:04:20 -07:00