Permalink
...
Comparing changes
Open a pull request
- 11 commits
- 54 files changed
- 0 commit comments
- 3 contributors
Commits on Dec 05, 2016
|
|
mitar |
|
81b9fe3
|
||
|
|
GeoffreyBooth |
03eceeb
|
|||
|
|
lydell |
|
3ea0481
|
Commits on Dec 06, 2016
|
|
GeoffreyBooth |
|
88f2bf9
|
Commits on Dec 07, 2016
|
|
GeoffreyBooth |
a80d74a
|
|||
|
|
GeoffreyBooth |
|
8fbe095
|
||
|
|
GeoffreyBooth |
df5dd7e
|
|||
|
|
GeoffreyBooth |
6fc9e33
|
Commits on Dec 08, 2016
|
|
GeoffreyBooth |
04961af
|
|||
|
|
lydell |
|
6a678f2
|
||
|
|
lydell |
|
26cfd19
|
Unified
Split
Showing
with
1,536 additions
and 615 deletions.
- +7 −0 Cakefile
- BIN docs/android-chrome-192x192.png
- BIN docs/android-chrome-512x512.png
- BIN docs/apple-touch-icon.png
- +9 −0 docs/browserconfig.xml
- BIN docs/favicon-16x16.png
- BIN docs/favicon-32x32.png
- BIN docs/favicon.ico
- +17 −0 docs/manifest.json
- BIN docs/mstile-150x150.png
- +44 −0 docs/safari-pinned-tab.svg
- +1 −1 docs/v1/annotated-source/coffee-script.html
- +3 −0 docs/v1/annotated-source/grammar.html
- +128 −42 docs/v1/annotated-source/lexer.html
- +332 −330 docs/v1/browser-compiler/coffee-script.js
- BIN docs/v1/images/background.png
- BIN docs/v1/images/banding.png
- BIN docs/v1/images/button_bg.png
- BIN docs/v1/images/button_bg_dark.gif
- BIN docs/v1/images/button_bg_green.gif
- BIN docs/v1/images/favicon.ico
- +0 −25 docs/v1/images/just_logo.svg
- BIN docs/v1/images/logo.png
- +0 −59 docs/v1/images/logo.svg
- BIN docs/v1/images/screenshadow.png
- +540 −9 docs/v1/index.html
- +104 −1 docs/v1/test.html
- +9 −7 {docs/v1 → documentation}/css/docs.css
- 0 {docs/v1 → documentation}/css/tomorrow.css
- +6 −0 documentation/images/icon.svg
- +6 −0 documentation/images/logo.svg
- +37 −8 documentation/index.html
- +1 −1 lib/coffee-script/browser.js
- +1 −1 lib/coffee-script/cake.js
- +2 −2 lib/coffee-script/coffee-script.js
- +1 −1 lib/coffee-script/command.js
- +7 −1 lib/coffee-script/grammar.js
- +1 −1 lib/coffee-script/helpers.js
- +1 −1 lib/coffee-script/index.js
- +21 −4 lib/coffee-script/lexer.js
- +1 −1 lib/coffee-script/nodes.js
- +1 −1 lib/coffee-script/optparse.js
- +118 −109 lib/coffee-script/parser.js
- +1 −1 lib/coffee-script/register.js
- +1 −1 lib/coffee-script/repl.js
- +1 −1 lib/coffee-script/rewriter.js
- +1 −1 lib/coffee-script/scope.js
- +1 −1 lib/coffee-script/sourcemap.js
- +1 −1 package.json
- +1 −1 src/coffee-script.coffee
- +3 −0 src/grammar.coffee
- +24 −2 src/lexer.coffee
- +56 −1 test/generators.coffee
- +48 −0 test/modules.coffee
View
7
Cakefile
| @@ -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 | ||
View
BIN
docs/android-chrome-192x192.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN
docs/android-chrome-512x512.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN
docs/apple-touch-icon.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
9
docs/browserconfig.xml
| @@ -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
BIN
docs/favicon-16x16.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN
docs/favicon-32x32.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN
docs/favicon.ico
Binary file not shown.
View
17
docs/manifest.json
| @@ -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" | ||
| +} |
View
BIN
docs/mstile-150x150.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
44
docs/safari-pinned-tab.svg
| @@ -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> |
View
2
docs/v1/annotated-source/coffee-script.html
| @@ -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> | ||
View
3
docs/v1/annotated-source/grammar.html
| @@ -928,6 +928,8 @@ <h2 id="grammatical-rules">Grammatical Rules</h2> | ||
| ImportSpecifier: [ | ||
| o <span class="hljs-string">'Identifier'</span>, <span class="hljs-function">-></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">-></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">-></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">-></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">-></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">-></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">-></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">-></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.