Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
  • 11 commits
  • 54 files changed
  • 0 commit comments
  • 3 contributors
Commits on Dec 05, 2016
@mitar mitar Runtime should support for...of (#4385)
[Docs] Runtime should support for…of
81b9fe3
@GeoffreyBooth GeoffreyBooth Allow imported module members to be named `default` 03eceeb
@lydell lydell Merge pull request #4388 from GeoffreyBooth/import-member-named-default
Allow imported module members to be named `default`
3ea0481
Commits on Dec 06, 2016
@GeoffreyBooth GeoffreyBooth 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
88f2bf9
Commits on Dec 07, 2016
@GeoffreyBooth GeoffreyBooth 1.12.1, includes #4393 and #4388. a80d74a
@GeoffreyBooth GeoffreyBooth 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
8fbe095
@GeoffreyBooth GeoffreyBooth Merge branch 'master' of github.com:jashkenas/coffeescript into 1.12.1 df5dd7e
@GeoffreyBooth GeoffreyBooth Bump date 6fc9e33
Commits on Dec 08, 2016
@GeoffreyBooth GeoffreyBooth Fix link to logo; closes #4382 04961af
@lydell lydell Merge pull request #4395 from GeoffreyBooth/1.12.1
1.12.1
6a678f2
@lydell lydell Update 1.12.1 release date
26cfd19
Showing with 1,536 additions and 615 deletions.
  1. +7 −0 Cakefile
  2. BIN docs/android-chrome-192x192.png
  3. BIN docs/android-chrome-512x512.png
  4. BIN docs/apple-touch-icon.png
  5. +9 −0 docs/browserconfig.xml
  6. BIN docs/favicon-16x16.png
  7. BIN docs/favicon-32x32.png
  8. BIN docs/favicon.ico
  9. +17 −0 docs/manifest.json
  10. BIN docs/mstile-150x150.png
  11. +44 −0 docs/safari-pinned-tab.svg
  12. +1 −1 docs/v1/annotated-source/coffee-script.html
  13. +3 −0 docs/v1/annotated-source/grammar.html
  14. +128 −42 docs/v1/annotated-source/lexer.html
  15. +332 −330 docs/v1/browser-compiler/coffee-script.js
  16. BIN docs/v1/images/background.png
  17. BIN docs/v1/images/banding.png
  18. BIN docs/v1/images/button_bg.png
  19. BIN docs/v1/images/button_bg_dark.gif
  20. BIN docs/v1/images/button_bg_green.gif
  21. BIN docs/v1/images/favicon.ico
  22. +0 −25 docs/v1/images/just_logo.svg
  23. BIN docs/v1/images/logo.png
  24. +0 −59 docs/v1/images/logo.svg
  25. BIN docs/v1/images/screenshadow.png
  26. +540 −9 docs/v1/index.html
  27. +104 −1 docs/v1/test.html
  28. +9 −7 {docs/v1 → documentation}/css/docs.css
  29. 0 {docs/v1 → documentation}/css/tomorrow.css
  30. +6 −0 documentation/images/icon.svg
  31. +6 −0 documentation/images/logo.svg
  32. +37 −8 documentation/index.html
  33. +1 −1 lib/coffee-script/browser.js
  34. +1 −1 lib/coffee-script/cake.js
  35. +2 −2 lib/coffee-script/coffee-script.js
  36. +1 −1 lib/coffee-script/command.js
  37. +7 −1 lib/coffee-script/grammar.js
  38. +1 −1 lib/coffee-script/helpers.js
  39. +1 −1 lib/coffee-script/index.js
  40. +21 −4 lib/coffee-script/lexer.js
  41. +1 −1 lib/coffee-script/nodes.js
  42. +1 −1 lib/coffee-script/optparse.js
  43. +118 −109 lib/coffee-script/parser.js
  44. +1 −1 lib/coffee-script/register.js
  45. +1 −1 lib/coffee-script/repl.js
  46. +1 −1 lib/coffee-script/rewriter.js
  47. +1 −1 lib/coffee-script/scope.js
  48. +1 −1 lib/coffee-script/sourcemap.js
  49. +1 −1 package.json
  50. +1 −1 src/coffee-script.coffee
  51. +3 −0 src/grammar.coffee
  52. +24 −2 src/lexer.coffee
  53. +56 −1 test/generators.coffee
  54. +48 −0 test/modules.coffee
View
@@ -129,6 +129,11 @@ task 'build:browser', 'rebuild the merged script for inclusion in the browser',
task 'doc:site', 'watch and continually rebuild the documentation for the website', ->
# Helpers
+ css = fs.readFileSync('./documentation/css/docs.css', 'utf-8') + '\n' +
+ fs.readFileSync('./documentation/css/tomorrow.css', 'utf-8')
+
+ logo = fs.readFileSync './documentation/images/logo.svg', 'utf-8'
+
codeFor = ->
counter = 0
hljs = require 'highlight.js'
@@ -218,6 +223,8 @@ task 'doc:site', 'watch and continually rebuild the documentation for the websit
do renderIndex = ->
render = _.template fs.readFileSync(indexFile, 'utf-8')
output = render
+ css: css
+ logo: logo
codeFor: codeFor()
releaseHeader: releaseHeader
majorVersion: majorVersion
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="utf-8"?>
+<browserconfig>
+ <msapplication>
+ <tile>
+ <square150x150logo src="/mstile-150x150.png"/>
+ <TileColor>#da532c</TileColor>
+ </tile>
+ </msapplication>
+</browserconfig>
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Binary file not shown.
View
@@ -0,0 +1,17 @@
+{
+ "name": "",
+ "icons": [
+ {
+ "src": "\/android-chrome-192x192.png",
+ "sizes": "192x192",
+ "type": "image\/png"
+ },
+ {
+ "src": "\/android-chrome-512x512.png",
+ "sizes": "512x512",
+ "type": "image\/png"
+ }
+ ],
+ "theme_color": "#ffffff",
+ "display": "standalone"
+}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,44 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
+ "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
+<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
+ width="916.000000pt" height="916.000000pt" viewBox="0 0 916.000000 916.000000"
+ preserveAspectRatio="xMidYMid meet">
+<metadata>
+Created by potrace 1.11, written by Peter Selinger 2001-2013
+</metadata>
+<g transform="translate(0.000000,916.000000) scale(0.100000,-0.100000)"
+fill="#000000" stroke="none">
+<path d="M5555 8253 c-199 -8 -487 -49 -670 -94 -283 -70 -464 -155 -829 -387
+-307 -196 -461 -259 -721 -297 -134 -20 -345 -19 -442 1 -160 33 -243 104
+-243 208 0 59 38 103 118 139 159 72 516 78 707 11 l70 -24 40 28 c94 66 62
+162 -73 213 -90 34 -196 48 -352 48 -404 1 -684 -104 -767 -286 -22 -48 -25
+-65 -21 -138 8 -147 86 -267 241 -368 192 -125 402 -184 702 -194 248 -9 474
+23 699 99 148 50 244 94 565 262 375 197 551 266 806 319 207 43 297 52 535
+51 194 0 238 -3 319 -22 199 -46 311 -131 311 -235 0 -125 -160 -221 -435
+-262 -333 -50 -606 26 -685 191 -25 50 -31 52 -128 29 -258 -61 -317 -257
+-117 -390 157 -104 371 -149 700 -149 539 1 944 133 1084 352 108 171 68 386
+-105 557 -195 192 -518 305 -959 335 -143 9 -193 10 -350 3z"/>
+<path d="M1095 7556 c-323 -132 -512 -261 -576 -391 -35 -73 -33 -161 5 -235
+139 -267 715 -511 1644 -696 1114 -222 2726 -285 4162 -163 584 49 1082 129
+1590 255 590 146 1001 330 1155 518 135 165 92 351 -120 513 -68 52 -250 153
+-276 153 -7 0 1 -15 18 -32 74 -77 93 -189 48 -286 -88 -189 -401 -351 -950
+-491 -589 -149 -1176 -233 -2060 -293 -302 -21 -1490 -17 -1815 5 -988 68
+-1692 183 -2240 366 -363 122 -575 252 -646 397 -58 118 -25 250 88 357 34 31
+59 57 57 57 -2 -1 -40 -16 -84 -34z"/>
+<path d="M554 6215 c42 -244 59 -335 76 -415 53 -243 141 -560 215 -779 19
+-58 35 -108 35 -112 0 -4 -43 -38 -97 -75 -176 -126 -380 -340 -500 -527 -113
+-176 -202 -394 -245 -602 -20 -96 -23 -139 -23 -330 0 -198 3 -229 24 -315 47
+-189 122 -347 237 -500 235 -313 529 -501 879 -560 109 -19 341 -14 475 9 106
+18 460 129 484 152 6 5 -15 9 -50 9 -158 0 -384 62 -556 152 -224 117 -495
+354 -622 546 -119 178 -177 338 -216 592 -62 402 38 761 288 1030 l60 65 22
+-50 c175 -407 322 -695 457 -894 59 -86 238 -340 398 -566 414 -584 421 -593
+471 -701 97 -210 179 -432 220 -599 19 -80 58 -137 172 -252 180 -182 363
+-282 727 -398 303 -96 462 -132 770 -177 128 -18 1029 -18 1175 0 304 39 499
+81 780 169 266 83 422 160 600 294 77 58 207 185 257 251 15 20 35 38 43 41
+10 2 21 34 33 93 37 180 111 402 199 595 23 50 146 230 360 530 518 724 597
+846 743 1142 270 549 475 1133 614 1752 45 203 92 447 88 452 -2 2 -22 -19
+-45 -46 -153 -181 -518 -355 -1007 -479 -1503 -383 -3714 -462 -5485 -196
+-390 58 -751 129 -988 195 -511 141 -861 305 -1025 482 -46 50 -48 51 -43 22z"/>
+</g>
+</svg>
@@ -144,7 +144,7 @@
</div>
- <div class="content"><div class='highlight'><pre>exports.VERSION = <span class="hljs-string">'1.12.0'</span>
+ <div class="content"><div class='highlight'><pre>exports.VERSION = <span class="hljs-string">'1.12.1'</span>
exports.FILE_EXTENSIONS = [<span class="hljs-string">'.coffee'</span>, <span class="hljs-string">'.litcoffee'</span>, <span class="hljs-string">'.coffee.md'</span>]</pre></div></div>
@@ -928,6 +928,8 @@ <h2 id="grammatical-rules">Grammatical Rules</h2>
ImportSpecifier: [
o <span class="hljs-string">'Identifier'</span>, <span class="hljs-function">-&gt;</span> <span class="hljs-keyword">new</span> ImportSpecifier $<span class="hljs-number">1</span>
o <span class="hljs-string">'Identifier AS Identifier'</span>, <span class="hljs-function">-&gt;</span> <span class="hljs-keyword">new</span> ImportSpecifier $<span class="hljs-number">1</span>, $<span class="hljs-number">3</span>
+ o <span class="hljs-string">'DEFAULT'</span>, <span class="hljs-function">-&gt;</span> <span class="hljs-keyword">new</span> ImportSpecifier <span class="hljs-keyword">new</span> Literal $<span class="hljs-number">1</span>
+ o <span class="hljs-string">'DEFAULT AS Identifier'</span>, <span class="hljs-function">-&gt;</span> <span class="hljs-keyword">new</span> ImportSpecifier <span class="hljs-keyword">new</span> Literal($<span class="hljs-number">1</span>), $<span class="hljs-number">3</span>
]
ImportDefaultSpecifier: [
@@ -965,6 +967,7 @@ <h2 id="grammatical-rules">Grammatical Rules</h2>
o <span class="hljs-string">'Identifier'</span>, <span class="hljs-function">-&gt;</span> <span class="hljs-keyword">new</span> ExportSpecifier $<span class="hljs-number">1</span>
o <span class="hljs-string">'Identifier AS Identifier'</span>, <span class="hljs-function">-&gt;</span> <span class="hljs-keyword">new</span> ExportSpecifier $<span class="hljs-number">1</span>, $<span class="hljs-number">3</span>
o <span class="hljs-string">'Identifier AS DEFAULT'</span>, <span class="hljs-function">-&gt;</span> <span class="hljs-keyword">new</span> ExportSpecifier $<span class="hljs-number">1</span>, <span class="hljs-keyword">new</span> Literal $<span class="hljs-number">3</span>
+ o <span class="hljs-string">'DEFAULT'</span>, <span class="hljs-function">-&gt;</span> <span class="hljs-keyword">new</span> ExportSpecifier <span class="hljs-keyword">new</span> Literal $<span class="hljs-number">1</span>
]</pre></div></div>
</li>
Oops, something went wrong.

No commit comments for this range