jashkenas--coffeescript/lib/coffeescript
Geoffrey Booth f6d63776c3
ES module version of compiler for use in browsers; dynamic import() docs; revised Stage 3 policy (#5177)
* Build both a legacy and modern browser compiler

* Dynamic import example and documentation

* Update the docs to use the modern browser compiler if the browser supports it

* Update policy regarding Stage 3 features

* This never made sense, and assigning a string to index 0 *of a string* throws in Module mode (and silently does nothing in Script mode) so remove this unneeded code that throws when compiling `fn for i from from iterable` in Module mode

* Have browser-based tests use the ES module version if supported

* Simplify building logic

* Update output

* For the ES module version of the browser compiler, don't automatically attach the runScripts event handler

* Consistent comments

* Fix comment
2019-03-26 23:55:31 -07:00
..
browser.js ES module version of compiler for use in browsers; dynamic import() docs; revised Stage 3 policy (#5177) 2019-03-26 23:55:31 -07:00
cake.js Release 2.3.2 (#5110) 2018-09-19 23:53:49 -07:00
coffeescript.js implement coffeescript.registerCompiled method (#5130) 2018-11-28 09:09:06 -08:00
command.js Release 2.3.2 (#5110) 2018-09-19 23:53:49 -07:00
grammar.js Dynamic import (#5169) 2019-03-20 13:08:10 -07:00
helpers.js Release 2.3.2 (#5110) 2018-09-19 23:53:49 -07:00
index.js implement coffeescript.registerCompiled method (#5130) 2018-11-28 09:09:06 -08:00
lexer.js ES module version of compiler for use in browsers; dynamic import() docs; revised Stage 3 policy (#5177) 2019-03-26 23:55:31 -07:00
nodes.js Dynamic import (#5169) 2019-03-20 13:08:10 -07:00
optparse.js Release 2.3.2 (#5110) 2018-09-19 23:53:49 -07:00
parser.js Fix tests (#5176) 2019-03-23 23:28:13 -07:00
register.js Release 2.3.2 (#5110) 2018-09-19 23:53:49 -07:00
repl.js Fix repl.rli deprecation (#5178) 2019-03-24 19:12:32 -07:00
rewriter.js Release 2.3.2 (#5110) 2018-09-19 23:53:49 -07:00
scope.js Release 2.3.2 (#5110) 2018-09-19 23:53:49 -07:00
sourcemap.js Release 2.3.2 (#5110) 2018-09-19 23:53:49 -07:00