1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00
jashkenas--coffeescript/test
Michal Srb dc0fb85fd3 [CS2] Support for CSX - equivalent of JSX (#4551)
* CSX implementation

* fixed comment, used toJS, added error tests, fixed error in identifier regex, fixed interpolation inside attributes value and added test

* added missing test for bare attributes, split attribute and indentifier regex, fixed checking for closing tags closing angle bracket

* Refactor tests that compare expected generated JavaScript with actual generated JavaScript to use common helper; add colors to error message to make differences easier to read

* Better match the style of the rest of the codebase

* Remove unused function

* More style fixes

* Allow unspaced less-than operator when not using CSX

* Replace includesCSX with a counter and simplify the unspaced operator logic

* Fixed indexing and realized that I completely enabled the tight spacing, added a test for it too

* Style fixes
2017-06-06 23:33:46 -07:00
..
importing renaming import test files to avoid risking the disfavor of .gitignore 2013-06-02 10:57:18 +04:00
support [CS2] Support for CSX - equivalent of JSX (#4551) 2017-06-06 23:33:46 -07:00
arrays.coffee Merge branch 'master' into 2 2016-11-10 22:51:39 -08:00
assignment.coffee Remove support for bound instance methods (#4530) 2017-04-27 23:03:01 -07:00
async.coffee Update async test to use new super syntax 2017-02-04 17:05:18 -08:00
booleans.coffee renaming wordy test titles. 2011-04-23 13:35:15 -04:00
classes.coffee Remove support for bound instance methods (#4530) 2017-04-27 23:03:01 -07:00
cluster.coffee Fixes #2737, fix fork() for both .js and .coffee, revised. 2013-03-18 11:46:54 +08:00
comments.coffee [CS2] Support for CSX - equivalent of JSX (#4551) 2017-06-06 23:33:46 -07:00
compilation.coffee Merge branch 'master' into 2 2016-11-10 22:51:39 -08:00
comprehensions.coffee Allow @ values as indices in for expressions 2016-12-29 19:00:00 +00:00
control_flow.coffee Fix parenthesized conditions in if-else assignment (#4519) 2017-04-19 00:10:20 -07:00
csx.coffee [CS2] Support for CSX - equivalent of JSX (#4551) 2017-06-06 23:33:46 -07:00
error_messages.coffee [CS2] Support for CSX - equivalent of JSX (#4551) 2017-06-06 23:33:46 -07:00
eval.coffee Fix issue #3498 2015-01-05 15:40:04 -05:00
exception_handling.coffee #2900 -- parameter-less catch clause. 2013-04-12 17:50:45 +02:00
formatting.coffee Merge branch 'master' of github.com:jashkenas/coffeescript into 2 2017-05-13 21:23:05 -07:00
function_invocation.coffee [CS2] Fix non-bare get set when called with @ argument (#4525) 2017-04-23 11:23:36 -07:00
functions.coffee [CS2] Destructuring (#4478) 2017-04-06 10:06:45 -07:00
generators.coffee [CS2] Compile all super calls to ES2015 super (#4424) 2017-02-04 12:03:17 -08:00
helpers.coffee Replace last array helper with [..., last] = array 2015-02-07 21:50:41 +01:00
importing.coffee renaming import test files to avoid risking the disfavor of .gitignore 2013-06-02 10:57:18 +04:00
interpolation.coffee Fix #3795: Never generate invalid strings and regexes 2015-02-05 17:23:03 +01:00
javascript_literals.coffee Triple backticks to allow creation of JavaScript blocks (#4357) 2016-11-19 11:13:30 -08:00
literate.litcoffee [CS2] Literate CoffeeScript without dependencies (#4509) 2017-04-17 23:30:40 -07:00
literate_tabbed.litcoffee [CS2] Literate CoffeeScript without dependencies (#4509) 2017-04-17 23:30:40 -07:00
location.coffee Merge pull request #4444 from alangpierce/upstream-fix-heregex-end-location 2017-02-17 18:21:08 +01:00
modules.coffee [CS2] Support for CSX - equivalent of JSX (#4551) 2017-06-06 23:33:46 -07:00
numbers.coffee Treat Infinity and NaN as reserved words 2016-03-06 11:41:48 +01:00
objects.coffee Fix #4544: postfix conditional on first line of implicit object (#4554) 2017-05-29 17:29:45 -07:00
operators.coffee [CS2] Compile class constructors to ES2015 classes (#4354) 2017-01-12 21:55:30 -08:00
option_parser.coffee Remove hyphen in coffee-script 2017-02-12 17:00:05 -08:00
parser.coffee Properly update location data when setting a call to use new 2017-02-16 20:43:19 -08:00
ranges.coffee Add a for .. from .. loop for generators, see #4306, #3832 (#4355) 2016-11-07 23:40:01 -08:00
regexps.coffee [CS2] Support for CSX - equivalent of JSX (#4551) 2017-06-06 23:33:46 -07:00
repl.coffee Merge branch 'master' into 2 2017-04-17 19:52:34 -07:00
scope.coffee Remove support for bound instance methods (#4530) 2017-04-27 23:03:01 -07:00
slicing_and_splicing.coffee Fix #2953. Method calls on splice endpoints 2013-04-23 05:42:37 +02:00
soaks.coffee added descriptions to tests which only had Issue numbers 2015-02-23 16:39:05 -07:00
sourcemap.coffee Fix failing source map tests 2016-06-02 09:04:58 +02:00
strict.coffee merge master 2017-04-20 14:41:28 -05:00
strings.coffee [CS2] Support for CSX - equivalent of JSX (#4551) 2017-06-06 23:33:46 -07:00
tagged_template_literals.coffee Improve tests and comments 2016-12-03 10:16:41 -08:00