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 .
Choose a Base Repository
jashkenas/coffeescript
CDR2003/coffee-script-lua
CreamCoderz/coffee-script
Crylock/coffee-script
GeoffreyBooth/coffeescript
Gregg/coffee-script
JulianBirch/coffee-script-1
JustinTulloss/coffee-script
MichaelBlume/coffee-script
NightMigera/coffeescript
PandaWood/coffee-script
ProximaMonkey/coffee-script
Remcoman/coffee-script
RicardoSaracino/coffee-script
SE7ENSKY/matescript
STRd6/coffee-script
ShawnFumo/coffee-script
StanAngeloff/coffee-script
Xepo/coffee-script
abi/coffee-script
agnoster/coffee-script
ahjohannessen/coffee-script
akiellor/coffee-script
alanning/coffee-script
allanberger/coffee-script
almost/coffee-script
alubbe/coffee-script
andrehjr/coffee-script
andrewschaaf/coffee-script
andreypopp/coffee-script
apanda/coffee-script
baoshitang/coffee-script
barberboy/coffee-script
benatkin/coffee-script
benbria/coffee-script
benekastah/coffee-script
bjouhier/coffee-script
blahutka/coffee-script
blossom/coffee-script
bolinfest/coffee-script
breckinloggins/coffee-script
carmelyne/contracts.coffee
chajath/coffee-script
charles-cai/coffee-script
charliesome/coffee-script
chetan51/coffee-script
chip/coffee-script
codelahoma/coffee-script
coffee-js/coffee-script
coffee-void/coffeescript
collin/coffee-script
danemorgridge/coffee-script
daveclarke/coffee-script
daveyoon/coffee-script
dbrans/coffee-script
deadprogram/coffee-script
devongovett/coffee-script
dget/coffee-script
disnet/contracts.coffee
dmohl/coffee-script
dohse/coffee-script
dqminh/coffee-script
drewlesueur/coffee-script
eventualbuddha/coffee-script
evilpie/coffee-script
excellentdrums/coffee-script
fitzgen/coffee-script
fizx/coffee-script
geraldalewis/coffee-script
germanocaldeira/coffee-script
gfodor/coffee-script
ghuntley/coffee-script
goodwink/coffee-script
gxela/coffee-script
hayeah/coffee-script
hbt/coffee-script
helixbass/copheescript
hleumas/coffee-script
holtwick/moccacino
hugs/coffee-script
ianthehenry/protoscript
ich/caffeine
janlelis/angular-coffee-script
jaredwy/coffee-script
jasonyandell/coffee-script
jawj/coffee-script
jbca/coffeescript
jiangmiao/toffee-script
jlstr/coffee-script
joelturnbull/coffee-script
johnsang/coffee-script
joliss/coffee-script
jondistad/coffee-script
joshprice/coffee-script
jstrachan/coffee-script
jugglinmike/irene-script
juilyoon/coffee-script
keichii/coffee-script
keithnorm/coffee-script
kewinwang/coffee-script
khaled/coffee-script
leeight/coffee-script
level1/coffee-script
lfendy/coffee-script
loganfsmyth/coffee-script
loopinfinito/coffeescript.com.br
lorensr/coffee-script
loveencounterflow/coffy-script
lukhnos/doubleshot
lynaghk/coffee-script
martco/coffee-script
maxtaco/coffee-script
mbbx6spp/coffee-script
mblinn/coffee-script
mehmeta/coffee-script
melcher/coffee-script
mental/coffee-script
mhart/coffee-script
michaelficarra/coffee-script
misfo/coffee-script
mizchi/coffee-script
mlinderm/coffee-script
mrlauer/coffee-script-monads
muratmeran/coffee-script
myang/coffee-script
nanqiu/coffee-script
neobine/coffee-script
netconstructor/coffee-script
nickjs/coffee-script
nihar/coffee-script
onilabs/coffee-script
paiq/blackcoffee
parkerl/coffee-script
paulmars/coffee-script
peick/coffee-script
pjaspers/coffee-script
plambert/coffee-script
poutyface/coffee-script
pschyska/coffee-script
ptoomey3/coffee-script
quangv/coffee-script
revence27/coffee-script
rkJun/coffee-script
robarondaz/coffee-script
robotlolita/coffee-script
rolftimmermans/coffee-script
rpl/coffee-script
runeb/coffee-script
rwaldron/coffee-script
rymohr/coffee-script
ryszard/coffee-script
samcday/coffee-script
sarang25491/coffee-script
satyr/coffee-script
seedjs/coffee-script
sequoiar/coffee-script
sgraham/coffee-script
shariefsk/coffee-script
shesek/coffee-script
shimaore/cake
siefkenj/gjscoffee-script
smhanov/coffee-script
soutaro/coffee-script
spaghetticode/coffee-script
sparecycles/coffee-script
spencerelliott/coffee-script
sstephenson/coffee-script
stephank/coffee-script
strangemonad/coffee-script
swistak/coffee-script
syg/heap.coffee
taku0/coffee-script
tanob/coffee-script
tglines/coffee-script
thdtjsdn/coffee-script
theIntuitionist/coffee-script
thedeeno/coffee-script
thejh/coffee-script
timruffles/coffee-script
tkpage/coffee-script
tlrobinson/coffee-script
tmishra/coffee-script
tobee/coffee-script
tomelam/coffee-script
tosh/coffee-script
tswicegood/coffee-script
ttilley/coffee-script
twilson63/coffee-script
up2u0609/coffee-script
vanviegen/coffee-script
vjpr/coffee-script
vol4ok/coffee-script
walski/coffee-script
wearefractal/yerbascript
willmoffat/coffee-script
xixixao/coffee-script
yihuang/coffee-script
zaach/coffee-script
zmthy/coffee-script
zot/coffee-script
Nothing to show
Choose a base branch
Choose a Head Repository
jashkenas/coffeescript
CDR2003/coffee-script-lua
CreamCoderz/coffee-script
Crylock/coffee-script
GeoffreyBooth/coffeescript
Gregg/coffee-script
JulianBirch/coffee-script-1
JustinTulloss/coffee-script
MichaelBlume/coffee-script
NightMigera/coffeescript
PandaWood/coffee-script
ProximaMonkey/coffee-script
Remcoman/coffee-script
RicardoSaracino/coffee-script
SE7ENSKY/matescript
STRd6/coffee-script
ShawnFumo/coffee-script
StanAngeloff/coffee-script
Xepo/coffee-script
abi/coffee-script
agnoster/coffee-script
ahjohannessen/coffee-script
akiellor/coffee-script
alanning/coffee-script
allanberger/coffee-script
almost/coffee-script
alubbe/coffee-script
andrehjr/coffee-script
andrewschaaf/coffee-script
andreypopp/coffee-script
apanda/coffee-script
baoshitang/coffee-script
barberboy/coffee-script
benatkin/coffee-script
benbria/coffee-script
benekastah/coffee-script
bjouhier/coffee-script
blahutka/coffee-script
blossom/coffee-script
bolinfest/coffee-script
breckinloggins/coffee-script
carmelyne/contracts.coffee
chajath/coffee-script
charles-cai/coffee-script
charliesome/coffee-script
chetan51/coffee-script
chip/coffee-script
codelahoma/coffee-script
coffee-js/coffee-script
coffee-void/coffeescript
collin/coffee-script
danemorgridge/coffee-script
daveclarke/coffee-script
daveyoon/coffee-script
dbrans/coffee-script
deadprogram/coffee-script
devongovett/coffee-script
dget/coffee-script
disnet/contracts.coffee
dmohl/coffee-script
dohse/coffee-script
dqminh/coffee-script
drewlesueur/coffee-script
eventualbuddha/coffee-script
evilpie/coffee-script
excellentdrums/coffee-script
fitzgen/coffee-script
fizx/coffee-script
geraldalewis/coffee-script
germanocaldeira/coffee-script
gfodor/coffee-script
ghuntley/coffee-script
goodwink/coffee-script
gxela/coffee-script
hayeah/coffee-script
hbt/coffee-script
helixbass/copheescript
hleumas/coffee-script
holtwick/moccacino
hugs/coffee-script
ianthehenry/protoscript
ich/caffeine
janlelis/angular-coffee-script
jaredwy/coffee-script
jasonyandell/coffee-script
jawj/coffee-script
jbca/coffeescript
jiangmiao/toffee-script
jlstr/coffee-script
joelturnbull/coffee-script
johnsang/coffee-script
joliss/coffee-script
jondistad/coffee-script
joshprice/coffee-script
jstrachan/coffee-script
jugglinmike/irene-script
juilyoon/coffee-script
keichii/coffee-script
keithnorm/coffee-script
kewinwang/coffee-script
khaled/coffee-script
leeight/coffee-script
level1/coffee-script
lfendy/coffee-script
loganfsmyth/coffee-script
loopinfinito/coffeescript.com.br
lorensr/coffee-script
loveencounterflow/coffy-script
lukhnos/doubleshot
lynaghk/coffee-script
martco/coffee-script
maxtaco/coffee-script
mbbx6spp/coffee-script
mblinn/coffee-script
mehmeta/coffee-script
melcher/coffee-script
mental/coffee-script
mhart/coffee-script
michaelficarra/coffee-script
misfo/coffee-script
mizchi/coffee-script
mlinderm/coffee-script
mrlauer/coffee-script-monads
muratmeran/coffee-script
myang/coffee-script
nanqiu/coffee-script
neobine/coffee-script
netconstructor/coffee-script
nickjs/coffee-script
nihar/coffee-script
onilabs/coffee-script
paiq/blackcoffee
parkerl/coffee-script
paulmars/coffee-script
peick/coffee-script
pjaspers/coffee-script
plambert/coffee-script
poutyface/coffee-script
pschyska/coffee-script
ptoomey3/coffee-script
quangv/coffee-script
revence27/coffee-script
rkJun/coffee-script
robarondaz/coffee-script
robotlolita/coffee-script
rolftimmermans/coffee-script
rpl/coffee-script
runeb/coffee-script
rwaldron/coffee-script
rymohr/coffee-script
ryszard/coffee-script
samcday/coffee-script
sarang25491/coffee-script
satyr/coffee-script
seedjs/coffee-script
sequoiar/coffee-script
sgraham/coffee-script
shariefsk/coffee-script
shesek/coffee-script
shimaore/cake
siefkenj/gjscoffee-script
smhanov/coffee-script
soutaro/coffee-script
spaghetticode/coffee-script
sparecycles/coffee-script
spencerelliott/coffee-script
sstephenson/coffee-script
stephank/coffee-script
strangemonad/coffee-script
swistak/coffee-script
syg/heap.coffee
taku0/coffee-script
tanob/coffee-script
tglines/coffee-script
thdtjsdn/coffee-script
theIntuitionist/coffee-script
thedeeno/coffee-script
thejh/coffee-script
timruffles/coffee-script
tkpage/coffee-script
tlrobinson/coffee-script
tmishra/coffee-script
tobee/coffee-script
tomelam/coffee-script
tosh/coffee-script
tswicegood/coffee-script
ttilley/coffee-script
twilson63/coffee-script
up2u0609/coffee-script
vanviegen/coffee-script
vjpr/coffee-script
vol4ok/coffee-script
walski/coffee-script
wearefractal/yerbascript
willmoffat/coffee-script
xixixao/coffee-script
yihuang/coffee-script
zaach/coffee-script
zmthy/coffee-script
zot/coffee-script
Nothing to show
Choose a head branch
32
contributors
Commits on Jan 28, 2014
|
|
dannguyen |
Just a small typo in 1.7.0 changelog
|
ef7b3a7
|
Commits on Jan 29, 2014
|
|
roryokane |
Fix markup in math operator documentation
In the documentation, surround the new operators with `<tt>` tags instead of Markdown-style backticks, since this is HTML. |
6df8d92
|
|||
|
|
jashkenas |
index.html
|
3357b6c
|
Commits on Jan 30, 2014
Commits on Feb 02, 2014
|
|
michaelficarra |
use npm-installed docco rather than relying on globally installed docco
|
ed92892
|
|||
|
|
michaelficarra |
Merge remote-tracking branch 'origin/gh-pages'
|
eda4f0c
|
Commits on Feb 06, 2014
|
|
aroben |
Add tests for the optimization of trailing return statements
This documents current behavior. When #1038 was fixed, we also optimized away trailing "undefined" and "return undefined", but that is no longer the case. |
8980647
|
|||
|
|
aroben |
Remove reference to never-defined .isUndefined property
This was added in f4a7cca to fix #1038 for CoffeeScript 1.0.1. `.isUndefined` was removed in caf3da2 but this code was never updated. That actually caused the behavior of this code to change (trailing `undefined` and `return undefined` statements no longer got optimized away) when CoffeeScript 1.3.2 was released, but the new behavior was deemed correct in #1038 (comment). |
e9a0512
|
Commits on Feb 07, 2014
|
|
lydell |
Make patched stack traces’ prelude consistent with V8
In V8, the `stack` property of errors contains a prelude and then the stack trace. The contents of the prelude depends on whether the error has a message or not. If the error has _not_ got a message, the prelude contains the name of the error and a newline. If the error _has_ got a message, the prelude contains the name of the error, a colon, a space, the message and a newline. In other words, the prelude consists of `error.toString() + "\n"` Before, coffee-script’s patched stack traces worked exactly like that, except that it _always_ added a colon and a space after the name of the error. This fix is important because it allows for easy and consistent consumption of the stack trace only: `stack = error.stack[error.toString().length..]` |
4bbd63c
|
|||
|
|
michaelficarra |
Merge pull request #3359 from lydell/v8-consistent-stacktraces
Make patched stack traces’ prelude consistent with V8 |
816241d
|
|||
|
|
lydell |
Improve installation documentation
- Simplify the command to install latest master. - Promote using `--save` when installing locally, since it automatically locks the minor version, protecting users from accidentally installing breaking updates. |
27f1976
|
|||
|
|
jashkenas |
Merge pull request #3360 from lydell/install-docs
Improve installation documentation |
46f55d1
|
Commits on Feb 08, 2014
|
|
epidemian |
Fix #3361, make %% coerce right operand only once
Force coercion of right operand once before doing arithmetic with it in the `__modulo` utility function. |
0ad30e9
|
|||
|
|
michaelficarra |
Merge pull request #3362 from epidemian/fix-modulo-coercion
Fix #3361, make %% coerce right operand only once |
4dfc75d
|
Commits on Feb 09, 2014
|
|
michaelficarra |
fixes #3363: modulo operator evaluation order
|
a2c0106
|
Commits on Feb 10, 2014
|
|
ricardobeat |
Register .coffee extension by default on Cakefile
|
e7ba295
|
|||
|
|
michaelficarra |
Merge pull request #3368 from ricardobeat/cake-register-by-default
Cakefile: register .coffee extension by default |
b319519
|
Commits on Feb 17, 2014
|
|
davidchambers |
changelog: add anchor to each section
Add releaseHeader helper to avoid repetition. |
09446ad
|
|||
|
|
davidchambers |
changelog: add missing compare view URLs
|
551cf56
|
|||
|
|
jashkenas |
Merge pull request #3376 from davidchambers/anchors
change log improvements |
a216f93
|
|||
|
|
madprgmr |
Rudimentary fix for jashkenas/coffeescript#3379.
|
a323160
|
|||
|
|
michaelficarra |
Merge pull request #3380 from madprgmr/master
Rudimentary fix for jashkenas/coffeescript#3379. |
c41a14f
|
Commits on Feb 18, 2014
|
|
davidchambers |
changelog: replace inline CSS
|
81e2253
|
|||
|
|
michaelficarra |
Merge pull request #3381 from davidchambers/inline-css
changelog: replace inline CSS |
bb319e2
|
|||
|
|
davidchambers |
changelog: use time elements for release dates
|
c9e87f3
|
|||
|
|
jashkenas |
Merge pull request #3382 from davidchambers/time-elements
changelog: use time elements for release dates |
fc8e9fd
|
Commits on Feb 23, 2014
|
|
blmarket |
Fixes issue #3349, prints deprecation warning
This patch fixes issue #3349, by prints deprecation warning for users who depends on old(<1.7.0) implicit module registration. |
36a3e03
|
|||
|
|
blmarket |
Improved coding convention and messages.
|
a82aecc
|
|||
|
|
michaelficarra |
Merge pull request #3386 from blmarket/deprecate_warning
Fixes issue #3349, prints deprecation warning |
9dc3a3d
|
|||
|
|
michaelficarra |
add newlines to end of files
|
af08cfd
|
|||
|
|
michaelficarra |
typo: mult-dot => multi-dot
|
a489006
|
|||
|
|
michaelficarra |
remove editorialisation
|
0a82ac7
|
Commits on Feb 28, 2014
Commits on Mar 03, 2014
|
|
michaelficarra |
fix cake install; related: #3395, #3393
|
ab5728c
|
Commits on Mar 11, 2014
|
|
sailxjx |
fix a spell mistake in cakefile
|
bfc9d4d
|
|||
|
|
vendethiel |
Merge pull request #3401 from sailxjx/master
fix a spell mistake in cakefile |
8b15d82
|
Commits on Mar 15, 2014
|
|
hickford |
Package with preferGlobal as appropriate for command-line application
Per https://www.npmjs.org/doc/json.html#preferGlobal > If your package is primarily a command-line application that should be installed globally, then set this value to true to provide a warning if it is installed locally. > > It doesn't actually prevent users from installing it locally, but it does help prevent some confusion if it doesn't work as expected. |
c2db81d
|
|||
|
|
jashkenas |
Merge pull request #3415 from matt-hickford/patch-1
Package with preferGlobal as appropriate for command-line application |
3339c2f
|
|||
|
|
jashkenas |
Merge pull request #3355 from aroben/kill-isUndefined
Remove reference to never-defined .isUndefined property |
63acf6a
|
|||
|
|
Fabrice Colas |
fix spell mistake on index.html.js
|
9c15b13
|
|||
|
|
vendethiel |
Merge pull request #3418 from fcolas6013/patch-2
fix spell mistake on index.html.js |
4547612
|
Commits on Mar 17, 2014
|
|
charlierudolph |
Fix errors on index
Extra quotations resulted in subtracting two strings and then a javascript syntax error |
15b64ad
|
Commits on Mar 18, 2014
|
|
jeremybanks |
Display compile errors - rebase from @jeremybanks
|
6114751
|
|||
|
|
michaelficarra |
Merge pull request #3424 from charlierudolph/fix_index
Fix errors on index |
2723f1a
|
|||
|
|
michaelficarra |
Merge pull request #3425 from charlierudolph/compile_errors
Display compile errors - rebase from @jeremybanks |
e02c8ab
|
Commits on Apr 18, 2014
|
|
leedm777 |
Export the CoffeeScript REPL.
This is done by adding a root level wrapper script for lib/coffee-script/repl, similar to how the register script is wrapped. This allows user programs to embed a CoffeeScript REPL without digging into CoffeeScript's internals. |
576fe44
|
Commits on Apr 19, 2014
|
|
ehuss |
Fix repl for Node 0.11.12.
Node changed their repl so that it inherits from readline.Interface. This means that `prompt` is now the rli function and not the original prompt string. This may be a little hacky, but I figure it would give someone a start if they want to do a better fix. The commit that changed this in Node is nodejs/node-v0.x-archive@3ae0b17 This bug was mentioned in Issue #3395. |
03705c6
|
Commits on May 01, 2014
|
|
Marko Schulz |
Fix help for .load
|
3fdc3a4
|
|||
|
|
michaelficarra |
Merge pull request #3460 from datenreisender/correct-repl-help
Fix help for .load |
ade9620
|
Commits on May 08, 2014
|
|
jashkenas |
now that github supports renames, coffeescript, not coffee-script
|
f076409
|
|||
|
|
jashkenas |
Merge pull request #3448 from leedm777/export-repl
Export the CoffeeScript REPL. |
d8b7a55
|
Commits on May 12, 2014
|
|
davidchambers |
command: deprecate --join
|
1cd48a9
|
|||
|
|
jashkenas |
Merge pull request #3477 from davidchambers/deprecate-join
command: deprecate --join |
a5a1ea9
|
Commits on May 20, 2014
|
|
forty |
Add tests to check that the FOR variable is defined after the loop
|
c608901
|
|||
|
|
jashkenas |
Merge pull request #3491 from forty/master
Add tests to check that the FOR variable is defined after the loop |
70a9a34
|
Commits on May 21, 2014
|
|
forty |
Do not rely on properties order in scope tests
|
c65f584
|
|||
|
|
michaelficarra |
Merge pull request #3492 from forty/master
Do not rely on properties order in scope tests |
ddc023b
|
Commits on May 24, 2014
|
|
ELLIOTTCABLE |
Fix “list of open-source CoffeeScript on GitHub”
Link's been broken with the recent GitHub re-arrangement. This is the closest thing I could find to what that link used to lead to. |
7e01672
|
|||
|
|
vendethiel |
Merge pull request #3494 from ELLIOTTCABLE/patch-1
Fix “list of open-source CoffeeScript on GitHub” |
48f2c2d
|
Commits on May 28, 2014
|
|
michaelficarra |
Merge pull request #3450 from ehuss/node11repl
Fix repl for Node 0.11.12. |
1bb3c84
|
Commits on Jun 02, 2014
|
|
Marko Schulz |
Handle dotless commands in the REPL.
Node 0.11 switched to storing the REPL commands dotless internally. This fixes the problem brought up in #3450. |
edf3c12
|
Commits on Jun 03, 2014
|
|
Marko Schulz |
Implement changes recommended in the pull request.
|
233055a
|
|||
|
|
Marko Schulz |
Make getCommandId() more readable.
|
9410216
|
Commits on Jun 04, 2014
|
|
michaelficarra |
Merge pull request #3503 from datenreisender/handle-dotless-commands
Handle dotless commands in the REPL. |
c4f9c3a
|
Commits on Jun 06, 2014
|
|
bwin |
remove docco as dependency (still a devDependency)
also changed version requirement notation for from `n.n.x` to `~n.n.n` like the others |
df2b79f
|
|||
|
|
michaelficarra |
Merge pull request #3508 from bwin/patch-1
remove docco as dependency (still a devDependency) |
4ad625a
|
|||
|
|
aviflax |
Remove sudo from install command in introduction
1. It just seems like a bad practice to encourage people to run npm with `sudo` 2. The doc wasn’t consistent with itself — down below in the full “Installation” section the same command did *not* include `sudo` |
2dd1ec3
|
|||
|
|
aviflax |
Remove typo
No idea how that got in there. |
f619416
|
Commits on Jun 09, 2014
|
|
michaelficarra |
Merge pull request #3509 from aviflax/patch-1
Remove sudo from install command in introduction |
5a54d8b
|
Commits on Jun 26, 2014
|
|
vendethiel |
Update link to "CoffeeScript Ristretto", fixes #3489
|
eb030a2
|
Commits on Jul 01, 2014
|
|
dabbler0 |
Fix off-by-one issue with string interpolation in lexer
|
159d562
|
|||
|
|
minodisk |
Fix wrong location issue in string interpolation starting with line b…
…reak |
2b539eb
|
|||
|
|
michaelficarra |
Merge pull request #3524 from minodisk/master
Fix location data bug for string interpolations |
2bab1b6
|
Commits on Jul 03, 2014
|
|
minodisk |
Fix wrong location issue in "string" interpolation
|
5920939
|
|||
|
|
michaelficarra |
Merge pull request #3533 from minodisk/fix-string-interpolation
Fix wrong location issue in "string" interpolation |
302aa6a
|
Commits on Jul 13, 2014
|
|
minodisk |
Fix wrong location issue in heregex interpolation
|
deead4b
|
Commits on Jul 14, 2014
|
|
michaelficarra |
Merge pull request #3539 from minodisk/fix-heregex-interpolation
Fix wrong location issue in heregex interpolation |
3ec10df
|
Commits on Jul 16, 2014
|
|
ysmood |
Add a test case for compiler error formatting.
Error formatting with mixed tab and space. |
f7b3605
|
|||
|
|
ysmood |
Fixed an error formatting issue f7b3605
When using tab for code indent, the error marker will be wrongly positioned. |
3465e75
|
|||
|
|
michaelficarra |
Merge pull request #3543 from ysmood/err_info_issue
Fixed an error formatting issue |
df8529f
|
Commits on Jul 17, 2014
|
|
jordanbtucker |
`bin/cake` will be in `coffeescript`
Since the name change, `bin/cake` will be in `coffeescript`, not `coffee-script`. |
5c1daf9
|
|||
|
|
michaelficarra |
Merge pull request #3545 from jordanbtucker/patch-1
`bin/cake` will be in `coffeescript` |
f96ab11
|
Commits on Jul 23, 2014
|
|
vendethiel |
Fix the "Examples" link on coffeescript.org
It now points to the "Trending repositories" of the month. |
fbbda3f
|
Commits on Jul 29, 2014
|
|
yjo |
Use '.js.map' as file extension for created map files
Addresses jashkenas/coffeescript#3297 |
2ec6e7e
|
|||
|
|
michaelficarra |
Merge pull request #3561 from yjo/js-map-file-ext
Use '.js.map' as file extension for created map files |
ab6f69c
|
Commits on Aug 18, 2014
|
|
mmotorny |
Exit with an error code 1 if could not write a compiled JavaScript fi…
…le or a source map Currently CoffeeScript reports a success even if it failed to write a compiled file to disk. This behavior confuses automated tools such as test runners which may return false positives if a test failed to compile because of a file lock. |
b573402
|
|||
|
|
michaelficarra |
Merge pull request #3592 from mmotorny/master
Exit with an error code 1 if could not write a compiled JavaScript file ... |
6929441
|
Commits on Aug 23, 2014
|
|
lydell |
Rebuild docs
|
ee8d105
|
Commits on Aug 25, 2014
|
|
lydell |
Update changelog for 1.8.0
|
7cfba37
|
Commits on Aug 26, 2014
|
|
jashkenas |
Merge pull request #3611 from lydell/release-1.8.0
Release 1.8.0 |
9177676
|
|||
|
|
jashkenas |
CoffeeScript 1.8.0
|
81047d4
|
Unified
Split
Showing
with
8,239 additions
and 7,321 deletions.
- +3 −3 CONTRIBUTING.md
- +34 −5 Cakefile
- +3 −3 README
- +60 −0 README.md
- +16 −22 documentation/css/docs.css
- +136 −126 documentation/docs/browser.html
- +149 −142 documentation/docs/cake.html
- +334 −424 documentation/docs/coffee-script.html
- +458 −393 documentation/docs/command.html
- +68 −62 documentation/docs/docco.css
- +489 −549 documentation/docs/grammar.html
- +248 −216 documentation/docs/helpers.html
- +67 −61 documentation/docs/index.html
- +920 −907 documentation/docs/lexer.html
- +1,983 −2,011 documentation/docs/nodes.html
- +140 −146 documentation/docs/optparse.html
- +251 −0 documentation/docs/register.html
- +263 −205 documentation/docs/repl.html
- +467 −502 documentation/docs/rewriter.html
- +145 −181 documentation/docs/scope.html
- +217 −340 documentation/docs/sourcemap.html
- +602 −496 documentation/docs/underscore.html
- +132 −194 documentation/index.html.js
- +1 −1 documentation/js/aliases.js
- +1 −1 documentation/js/array_comprehensions.js
- +1 −1 documentation/js/block_comment.js
- +1 −1 documentation/js/cake_tasks.js
- +1 −1 documentation/js/chaining.js
- +1 −1 documentation/js/classes.js
- +1 −1 documentation/js/comparisons.js
- +1 −1 documentation/js/conditionals.js
- +1 −1 documentation/js/constructor_destructuring.js
- +1 −1 documentation/js/default_args.js
- +1 −1 documentation/js/do.js
- +1 −1 documentation/js/embedded.js
- +1 −1 documentation/js/existence.js
- +1 −1 documentation/js/expansion.js
- +1 −1 documentation/js/expressions.js
- +1 −1 documentation/js/expressions_assignment.js
- +1 −1 documentation/js/expressions_comprehension.js
- +1 −1 documentation/js/expressions_try.js
- +1 −1 documentation/js/fat_arrow.js
- +1 −1 documentation/js/functions.js
- +1 −1 documentation/js/heredocs.js
- +1 −1 documentation/js/heregexes.js
- +1 −1 documentation/js/interpolation.js
- +1 −1 documentation/js/multiple_return_values.js
- +1 −1 documentation/js/object_comprehensions.js
- +1 −1 documentation/js/object_extraction.js
- +1 −1 documentation/js/objects_and_arrays.js
- +1 −1 documentation/js/objects_reserved.js
- +1 −1 documentation/js/overview.js
- +1 −1 documentation/js/parallel_assignment.js
- +1 −1 documentation/js/patterns_and_splats.js
- +1 −1 documentation/js/prototypes.js
- +1 −1 documentation/js/range_comprehensions.js
- +1 −1 documentation/js/scope.js
- +1 −1 documentation/js/slices.js
- +1 −1 documentation/js/soaks.js
- +1 −1 documentation/js/splats.js
- +1 −1 documentation/js/splices.js
- +1 −1 documentation/js/strings.js
- +1 −1 documentation/js/switch.js
- +1 −1 documentation/js/switch_with_no_expression.js
- +1 −1 documentation/js/try.js
- +1 −1 documentation/js/while.js
- +20 −0 examples/custom_repl.coffee
- +6 −6 extras/coffee-script.js
- +347 −197 index.html
- +1 −1 lib/coffee-script/browser.js
- +3 −1 lib/coffee-script/cake.js
- +24 −12 lib/coffee-script/coffee-script.js
- +9 −6 lib/coffee-script/command.js
- +1 −1 lib/coffee-script/grammar.js
- +2 −2 lib/coffee-script/helpers.js
- +1 −1 lib/coffee-script/index.js
- +17 −9 lib/coffee-script/lexer.js
- +4 −6 lib/coffee-script/nodes.js
- +1 −1 lib/coffee-script/optparse.js
- +1 −1 lib/coffee-script/register.js
- +20 −7 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
- +6 −4 package.json
- +1 −0 repl.js
- +3 −0 src/cake.coffee
- +10 −2 src/coffee-script.coffee
- +23 −6 src/command.coffee
- +1 −1 src/helpers.coffee
- +1 −1 src/index.coffee
- +11 −6 src/lexer.coffee
- +2 −3 src/nodes.coffee
- +3 −5 src/register.coffee
- +15 −5 src/repl.coffee
- +20 −2 test/error_messages.coffee
- +13 −0 test/functions.coffee
- +420 −0 test/location.coffee
- +13 −0 test/operators.coffee
- +9 −1 test/scope.coffee
View
6
CONTRIBUTING.md
| @@ -1,9 +1,9 @@ | ||
| ## How to contribute to CoffeeScript | ||
| -* Before you open a ticket or send a pull request, [search](https://github.com/jashkenas/coffee-script/issues) for previous discussions about the same feature or issue. Add to the earlier ticket if you find one. | ||
| +* Before you open a ticket or send a pull request, [search](https://github.com/jashkenas/coffeescript/issues) for previous discussions about the same feature or issue. Add to the earlier ticket if you find one. | ||
| -* Before sending a pull request for a feature, be sure to have [tests](https://github.com/jashkenas/coffee-script/tree/master/test). | ||
| +* Before sending a pull request for a feature, be sure to have [tests](https://github.com/jashkenas/coffeescript/tree/master/test). | ||
| -* Use the same coding style as the rest of the [codebase](https://github.com/jashkenas/coffee-script/tree/master/src). If you're just getting started with CoffeeScript, there's a nice [style guide](https://github.com/polarmobile/coffeescript-style-guide). | ||
| +* Use the same coding style as the rest of the [codebase](https://github.com/jashkenas/coffeescript/tree/master/src). If you're just getting started with CoffeeScript, there's a nice [style guide](https://github.com/polarmobile/coffeescript-style-guide). | ||
| * In your pull request, do not add documentation to `index.html` or re-build the minified `coffee-script.js` file. We'll do those things before cutting a new release. |
View
39
Cakefile
| @@ -65,6 +65,33 @@ codeFor = -> | ||
| button = if executable then "<div class='minibutton ok' onclick='javascript: #{js};#{append}'>#{run}</div>" else '' | ||
| "<div class='code'>#{cshtml}#{jshtml}#{script}#{load}#{button}<br class='clear' /></div>" | ||
| +monthNames = [ | ||
| + 'January' | ||
| + 'February' | ||
| + 'March' | ||
| + 'April' | ||
| + 'May' | ||
| + 'June' | ||
| + 'July' | ||
| + 'August' | ||
| + 'September' | ||
| + 'October' | ||
| + 'November' | ||
| + 'December' | ||
| +] | ||
| + | ||
| +formatDate = (date) -> | ||
| + date.replace /^(\d\d\d\d)-(\d\d)-(\d\d)$/, (match, $1, $2, $3) -> | ||
| + "#{monthNames[$2 - 1]} #{+$3}, #{$1}" | ||
| + | ||
| +releaseHeader = (date, version, prevVersion) -> """ | ||
| + <div class="anchor" id="#{version}"></div> | ||
| + <b class="header"> | ||
| + #{prevVersion and "<a href=\"https://github.com/jashkenas/coffeescript/compare/#{prevVersion}...#{version}\">#{version}</a>" or version} | ||
| + <span class="timestamp"> — <time datetime="#{date}">#{formatDate date}</time></span> | ||
| + </b> | ||
| +""" | ||
| + | ||
| option '-p', '--prefix [DIR]', 'set the installation prefix for `cake install`' | ||
| task 'install', 'install CoffeeScript into /usr/local (or --prefix)', (options) -> | ||
| @@ -77,7 +104,7 @@ task 'install', 'install CoffeeScript into /usr/local (or --prefix)', (options) | ||
| console.log "Linking 'coffee' to #{bin}/coffee" | ||
| exec([ | ||
| "mkdir -p #{lib} #{bin}" | ||
| - "cp -rf bin lib LICENSE README package.json src #{lib}" | ||
| + "cp -rf bin lib LICENSE README.md package.json src #{lib}" | ||
| "ln -sfn #{lib}/bin/coffee #{bin}/coffee" | ||
| "ln -sfn #{lib}/bin/cake #{bin}/cake" | ||
| "mkdir -p ~/.node_libraries" | ||
| @@ -146,21 +173,23 @@ task 'doc:site', 'watch and continually rebuild the documentation for the websit | ||
| do renderIndex = -> | ||
| codeSnippetCounter = 0 | ||
| - rendered = _.template fs.readFileSync(source, 'utf-8'), codeFor: codeFor() | ||
| + rendered = _.template fs.readFileSync(source, 'utf-8'), | ||
| + codeFor: codeFor() | ||
| + releaseHeader: releaseHeader | ||
| fs.writeFileSync 'index.html', rendered | ||
| log "compiled", green, "#{source}" | ||
| - fs.watchFile source, internal: 200, renderIndex | ||
| + fs.watchFile source, interval: 200, renderIndex | ||
| log "watching..." , green | ||
| task 'doc:source', 'rebuild the internal documentation', -> | ||
| - exec 'docco src/*.*coffee && cp -rf docs documentation && rm -r docs', (err) -> | ||
| + exec 'node_modules/.bin/docco src/*.*coffee && cp -rf docs documentation && rm -r docs', (err) -> | ||
| throw err if err | ||
| task 'doc:underscore', 'rebuild the Underscore.coffee documentation page', -> | ||
| - exec 'docco examples/underscore.coffee && cp -rf docs documentation && rm -r docs', (err) -> | ||
| + exec 'node_modules/.bin/docco examples/underscore.coffee && cp -rf docs documentation && rm -r docs', (err) -> | ||
| throw err if err | ||
| task 'bench', 'quick benchmark of compilation time', -> | ||
View
6
README
| @@ -38,13 +38,13 @@ | ||
| http://coffeescript.org/ | ||
| To suggest a feature, report a bug, or general discussion: | ||
| - http://github.com/jashkenas/coffee-script/issues/ | ||
| + http://github.com/jashkenas/coffeescript/issues/ | ||
| If you'd like to chat, drop by #coffeescript on Freenode IRC, | ||
| or on webchat.freenode.net. | ||
| The source repository: | ||
| - git://github.com/jashkenas/coffee-script.git | ||
| + git://github.com/jashkenas/coffeescript.git | ||
| Top 100 contributors are listed here: | ||
| - http://github.com/jashkenas/coffee-script/contributors | ||
| + http://github.com/jashkenas/coffeescript/contributors | ||
View
60
README.md
| @@ -0,0 +1,60 @@ | ||
| + { | ||
| + } } { | ||
| + { { } } | ||
| + } }{ { | ||
| + { }{ } } _____ __ __ | ||
| + { }{ }{ { } / ____| / _|/ _| | ||
| + .- { { } { }} -. | | ___ | |_| |_ ___ ___ | ||
| + ( { } { } { } } ) | | / _ \| _| _/ _ \/ _ \ | ||
| + |`-..________ ..-'| | |___| (_) | | | || __/ __/ | ||
| + | | \_____\___/|_| |_| \___|\___| | ||
| + | ;--. | ||
| + | (__ \ _____ _ _ | ||
| + | | ) ) / ____| (_) | | | ||
| + | |/ / | (___ ___ _ __ _ _ __ | |_ | ||
| + | ( / \___ \ / __| '__| | '_ \| __| | ||
| + | |/ ____) | (__| | | | |_) | |_ | ||
| + | | |_____/ \___|_| |_| .__/ \__| | ||
| + `-.._________..-' | | | ||
| + |_| | ||
| + | ||
| +CoffeeScript is a little language that compiles into JavaScript. | ||
| + | ||
| +## Installation | ||
| + | ||
| +If you have the node package manager, npm, installed: | ||
| + | ||
| +```shell | ||
| +npm install -g coffee-script | ||
| +``` | ||
| + | ||
| +Leave off the `-g` if you don't wish to install globally. If you don't wish to use npm: | ||
| + | ||
| +```shell | ||
| +git clone https://github.com/jashkenas/coffeescript.git | ||
| +sudo coffeescript/bin/cake install | ||
| +``` | ||
| + | ||
| +## Getting Started | ||
| + | ||
| +Execute a script: | ||
| + | ||
| +```shell | ||
| +coffee /path/to/script.coffee | ||
| +``` | ||
| + | ||
| +Compile a script: | ||
| + | ||
| +```shell | ||
| +coffee -c /path/to/script.coffee | ||
| +``` | ||
| + | ||
| +For documentation, usage, and examples, see: http://coffeescript.org/ | ||
| + | ||
| +To suggest a feature or report a bug: http://github.com/jashkenas/coffeescript/issues | ||
| + | ||
| +If you'd like to chat, drop by #coffeescript on Freenode IRC. | ||
| + | ||
| +The source repository: https://github.com/jashkenas/coffeescript.git | ||
| + | ||
| +Our lovely and talented contributors are listed here: http://github.com/jashkenas/coffeescript/contributors |
View
38
documentation/css/docs.css
| @@ -81,14 +81,15 @@ code, pre, tt, textarea { | ||
| padding-left: 0; | ||
| } | ||
| .timestamp { | ||
| - font-size: 12px; | ||
| + font-size: 11px; | ||
| font-weight: normal; | ||
| - color: black; | ||
| + text-transform: uppercase; | ||
| +} | ||
| +div.anchor { | ||
| + position: relative; | ||
| + top: -90px; | ||
| + margin: 0 0 -20px; | ||
| } | ||
| - .timestamp small { | ||
| - font-size: 11px; | ||
| - text-transform: uppercase; | ||
| - } | ||
| div.code { | ||
| position: relative; | ||
| background: #fff; | ||
| @@ -154,22 +155,6 @@ div.code { | ||
| #logo img { | ||
| margin: 5px 0 0 3px; | ||
| } | ||
| - #error { | ||
| - position: absolute; | ||
| - -webkit-border-radius: 2px; -moz-border-radius: 2px; border-radius: 2px; | ||
| - -webkit-border-top-left-radius: 0; -moz-border-radius-topleft: 0; border-top-left-radius: 0; | ||
| - -webkit-border-bottom-left-radius: 0; -moz-border-radius-bottomleft: 0; border-bottom-left-radius: 0; | ||
| - right: 0px; top: 0px; left: 726px; bottom: 0; | ||
| - padding: 0 0 0 15px; | ||
| - background: #fdcdcc; | ||
| - background: -webkit-gradient(linear, left top, left bottom, from(#ffedec), to(#ff9a95)); | ||
| - background: -moz-linear-gradient(top, #f8f8f8, #dadada); | ||
| - color: #862322; | ||
| - font-size: 10px; | ||
| - line-height: 50px; | ||
| - overflow: hidden; | ||
| - text-transform: uppercase; | ||
| - } | ||
| .navigation { | ||
| height: 50px; | ||
| font-size: 11px; | ||
| @@ -321,6 +306,9 @@ div.code { | ||
| margin-bottom: 0; | ||
| top: 10px; left: 10px; right: 10px; bottom: 15px; | ||
| } | ||
| + #repl_results.error { | ||
| + color: red | ||
| + } | ||
| #repl_source_wrap { | ||
| margin-left: 5px; | ||
| width: 47%; right: 50%; | ||
| @@ -383,3 +371,9 @@ div.code { | ||
| background-image: url(../images/button_bg_dark.gif); | ||
| text-shadow: none; | ||
| } | ||
| + .minibutton.error { | ||
| + opacity: 0.5; | ||
| + color: #600; | ||
| + cursor: not-allowed; | ||
| + } | ||
| + | ||
Oops, something went wrong.
Showing you all comments on commits in this comparison.
|
Nice fix. The test is clever, though the following would be more explicit: log = ''
a = valueOf: -> log += 'a'; 42
b = valueOf: -> log += 'b'; 13
eq 3, a %% b
eq 'ab', log |
|
Sorry, I don't know if I find that any more clear/explicit, especially not significantly enough to make a change. |
|
It's kind like nightmare to merge this commit into our translation... Any advice please? |
|
@jashkenas looks these pages are generated by |