Geoffrey Booth
31ff5e4194
Merge branch 'master' of github.com:jashkenas/coffeescript into 2
...
# Conflicts:
# lib/coffee-script/browser.js
# lib/coffee-script/cake.js
# lib/coffee-script/coffee-script.js
# lib/coffee-script/command.js
# lib/coffee-script/grammar.js
# lib/coffee-script/helpers.js
# lib/coffee-script/index.js
# lib/coffee-script/lexer.js
# lib/coffee-script/nodes.js
# lib/coffee-script/optparse.js
# lib/coffee-script/register.js
# lib/coffee-script/repl.js
# lib/coffee-script/rewriter.js
# lib/coffee-script/scope.js
# lib/coffee-script/sourcemap.js
# package.json
2016-12-18 18:16:18 -08:00
Simon Lydell
de180dc81a
Merge pull request #4405 from GeoffreyBooth/1.12.2
...
1.12.2
1.12.2
2016-12-16 09:46:26 +01:00
Geoffrey Booth
e2a3a5b993
Rebuild for 1.12.2
2016-12-15 21:28:24 -08:00
Geoffrey Booth
8c81c4ad39
1.12.2 changelog entry and version bump
2016-12-15 21:24:16 -08:00
Geoffrey Booth
b1313962a7
Merge branch 'master' of github.com:jashkenas/coffeescript into 2
...
# Conflicts:
# Cakefile
# lib/coffee-script/coffee-script.js
# src/coffee-script.coffee
2016-12-15 21:13:52 -08:00
Geoffrey Booth
e620434a2e
Docs improvements: content in Markdown, organization into subtemplates, fixed tests ( #4401 )
...
* Replace tiny bitmaps with base64-encoded URIs
* Optimize SVGs; replace logo PNG with SVG
* Modernize favicon
* Embed CSS; a bit unorthodox, but we’re a single page so there’s no point in separate .css files and their separate HTTP requests
* Documentation is now markdown, converted to HTML on compilation
* Render the examples when we’re rendering index.html; they compile so quickly that there’s no need to pre-render them and save the intermediate .js files
* Split apart index.html into components that Cakefile assembles, so that we can add in logic to include different files for v1 versus v2
* Split building index.html and building test.html into two tasks; collapse the parts of `releaseHeader` into one compact function
* Move include logic into templates
* Get error messages tests to work in the browser
* Update output index.html
* Split body into nav and body
* Watch subtemplates
* Revert "Split body into nav and body"
This reverts commit ec9e559ec0 .
* Add marked
* Update gitignore
* Use idiomatic markdown output for code blocks (<pre><code>)
* Handle ids within the template, not in the Cakefile; remove marked’s auto-generated and conflicting ids
* Move the `codeFor` function into versioned folders, so that v1 and v2 docs can have different example code blocks/editors
* Update packages, including new highlight.js which supports our newer keywords and triple backticks (docs output is unchanged)
2016-12-15 21:05:44 -08:00
Geoffrey Booth
be0f1cb8db
DRY on the version number: it should be in package.json and nowhere else ( #4400 )
2016-12-15 20:52:31 -08:00
mdcb
07d6eb6af5
Fix command completion under nodejs v6.9.1 ( #4402 )
...
* Fix command completion under nodejs v6.9.1
Closes #4397
* Commit updated compiled version
2016-12-15 20:50:54 -08:00
Geoffrey Booth
a825336ba9
Merge branch 'master' of github.com:jashkenas/coffeescript into 2
2016-12-15 20:36:53 -08:00
Jan
81174187f5
Fix empty source file when building with MINIFY=false, closes #4403 ( #4404 )
2016-12-15 20:35:10 -08:00
Jeremy Ashkenas
aee27fbff0
Merge pull request #4399 from murrayju/issue4391
...
Add a try/catch in the Error.prepareStackTrace implementation
2016-12-13 14:28:29 -05:00
Justin Murray
28585439d1
Remove Error.prepareStackTrace and the related source map code. Fixes jashkenas/coffeescript#4391
2016-12-13 11:31:12 -05:00
Geoffrey
6bd087ebb2
Merge branch 'master' of github.com:jashkenas/coffeescript into 2
...
# Conflicts:
# lib/coffee-script/browser.js
# lib/coffee-script/cake.js
# lib/coffee-script/coffee-script.js
# lib/coffee-script/command.js
# lib/coffee-script/grammar.js
# lib/coffee-script/helpers.js
# lib/coffee-script/index.js
# lib/coffee-script/lexer.js
# lib/coffee-script/nodes.js
# lib/coffee-script/optparse.js
# lib/coffee-script/register.js
# lib/coffee-script/repl.js
# lib/coffee-script/rewriter.js
# lib/coffee-script/scope.js
# lib/coffee-script/sourcemap.js
# package.json
# src/coffee-script.coffee
2016-12-10 11:06:14 -08:00
Justin Murray
7704cf571e
Add a try/catch in the Error.prepareStackTrace implementation to make sure that it never throws. Resolves jashkenas/coffeescript#4391 .
2016-12-09 11:25:55 -05:00
Simon Lydell
26cfd19862
Update 1.12.1 release date
1.12.1
2016-12-08 19:18:35 +01:00
Simon Lydell
6a678f23a5
Merge pull request #4395 from GeoffreyBooth/1.12.1
...
1.12.1
2016-12-08 19:17:31 +01:00
Geoffrey Booth
b481bd1f73
Merge branch 'master' into 2
2016-12-07 20:35:30 -08:00
Geoffrey Booth
04961afa36
Fix link to logo; closes #4382
2016-12-07 19:30:55 -08:00
Geoffrey Booth
6fc9e338a5
Bump date
2016-12-07 14:27:51 -08:00
Geoffrey Booth
df5dd7e383
Merge branch 'master' of github.com:jashkenas/coffeescript into 1.12.1
2016-12-07 14:25:27 -08:00
Geoffrey Booth
8fbe095e94
Improve docs ( #4396 )
...
* Replace tiny bitmaps with base64-encoded URIs
* Optimize SVGs; replace logo PNG with SVG
* Modernize favicon
* Embed CSS; a bit unorthodox, but we’re a single page so there’s no point in separate .css files and their separate HTTP requests
2016-12-07 14:23:05 -08:00
Geoffrey Booth
a80d74a672
1.12.1, includes #4393 and #4388 .
2016-12-06 21:15:04 -08:00
Geoffrey Booth
286eec74f9
Merge branch 'master' into 2
...
# Conflicts:
# lib/coffee-script/lexer.js
# lib/coffee-script/parser.js
2016-12-06 20:59:21 -08:00
Geoffrey Booth
88f2bf9fa5
Detect when from in a for loop declaration is an identifier ( #4393 )
...
* Try to detect when `from` in a `for` loop declaration is an identifier, not a keyword
* Handle destructured arrays
* from as a destructured, aliased object variable name in a for loop declaration
2016-12-06 12:29:02 -08:00
Simon Lydell
3ea0481bbe
Merge pull request #4388 from GeoffreyBooth/import-member-named-default
...
Allow imported module members to be named `default`
2016-12-05 07:15:03 +01:00
Geoffrey Booth
03eceeb615
Allow imported module members to be named default
2016-12-04 18:44:07 -08:00
Mitar
81b9fe34ff
Runtime should support for...of ( #4385 )
...
[Docs] Runtime should support for…of
2016-12-04 17:29:46 -08:00
Geoffrey Booth
fb3e1a8e65
Merge branch 'master' of github.com:jashkenas/coffeescript into 2
...
# Conflicts:
# docs/v1/browser-compiler/coffee-script.js
# lib/coffee-script/browser.js
# lib/coffee-script/cake.js
# lib/coffee-script/coffee-script.js
# lib/coffee-script/command.js
# lib/coffee-script/grammar.js
# lib/coffee-script/helpers.js
# lib/coffee-script/index.js
# lib/coffee-script/lexer.js
# lib/coffee-script/nodes.js
# lib/coffee-script/optparse.js
# lib/coffee-script/register.js
# lib/coffee-script/repl.js
# lib/coffee-script/rewriter.js
# lib/coffee-script/scope.js
# lib/coffee-script/sourcemap.js
# package.json
# src/coffee-script.coffee
# src/nodes.coffee
2016-12-04 12:52:23 -08:00
Simon Lydell
fb0639fa38
Merge pull request #4381 from GeoffreyBooth/1.12
...
[WIP] 1.12.0
1.12.0
2016-12-04 20:32:45 +01:00
Geoffrey Booth
b7dbee2402
Update broken links
2016-12-03 23:49:44 -08:00
Geoffrey Booth
2ca0f44cc8
Update 1.12.0 release date
2016-12-03 23:14:08 -08:00
Geoffrey Booth
c5121c8c4e
Rebuild
2016-12-03 22:06:07 -08:00
Geoffrey Booth
2f72d0394f
Improve comments formatting for better output in annotated source
2016-12-03 21:53:43 -08:00
Geoffrey Booth
026d9d6ccd
Merge branch 'master' of github.com:jashkenas/coffeescript into 1.12
2016-12-03 20:24:28 -08:00
Simon Lydell
c9de5be966
Merge pull request #4383 from GeoffreyBooth/escape-template-literals
...
Escape backticks and `${` within template literals; fixes #4380
2016-12-03 20:41:25 +01:00
Geoffrey Booth
d45d780869
Improve tests and comments
2016-12-03 10:16:41 -08:00
Geoffrey Booth
d8abfae457
Handle tagged template literals (and future CS2 interpolated strings) with “invalidly escaped” backticks or ${—one backslash instead of two
2016-12-02 16:54:31 -08:00
Geoffrey Booth
98bf335777
Regenerate docs
2016-12-01 21:42:17 -08:00
Geoffrey Booth
1a69493f87
Remove change log updates related to documentation and the compiler build system
2016-12-01 21:40:18 -08:00
Geoffrey Booth
abe746bf53
Wrap HTML in comments in backticks, so as not to fool docco when generating the annotated source
2016-12-01 21:36:15 -08:00
Geoffrey Booth
075e48df95
Add Trix to list of examples; closes #4227
2016-12-01 21:28:42 -08:00
Geoffrey Booth
47c0a5cbef
Escape backticks and ${ within template literals; fixes #4380
2016-12-01 13:10:03 -08:00
Geoffrey Booth
c48f5ce30f
Add link to browser tests
2016-11-30 22:51:25 -08:00
Geoffrey Booth
4efd27ed28
Update annotated source for 1.12.0
2016-11-30 22:38:14 -08:00
Geoffrey Booth
e6b1218ae1
Updated output docs for 1.12.0, including new browser compiler
2016-11-30 22:33:20 -08:00
Geoffrey Booth
68938cda30
Updated lib for 1.12.0
2016-11-30 22:27:32 -08:00
Geoffrey Booth
7d6a3b5fa4
Docs examples with quotation marks were broken. Properly escape the quotes. http://stackoverflow.com/a/1082558/223225
2016-11-30 22:23:51 -08:00
Geoffrey Booth
f187440bb8
Update size of browser compiler
2016-11-30 22:06:22 -08:00
Geoffrey Booth
d0d2ef9f77
Convert eligible HTML entities to unicode characters (a recommended practice: http://stackoverflow.com/a/436637/223225 ) and convert straight quotes to curly quotes
2016-11-30 21:55:24 -08:00
Geoffrey Booth
a15bf3d336
1.11.1 to 1.12.0 change log
2016-11-30 20:48:58 -08:00