mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
made sure all files were properly commented
This commit is contained in:
parent
6421c865f5
commit
240a0b9c93
5 changed files with 17 additions and 0 deletions
|
@ -0,0 +1,4 @@
|
||||||
|
# Cake
|
||||||
|
# ----
|
||||||
|
|
||||||
|
# TODO: add tests
|
|
@ -0,0 +1,4 @@
|
||||||
|
# Command
|
||||||
|
# -------
|
||||||
|
|
||||||
|
# TODO: add tests
|
|
@ -9,6 +9,8 @@
|
||||||
# * Loop
|
# * Loop
|
||||||
# * Switch
|
# * Switch
|
||||||
|
|
||||||
|
# TODO: make sure postfix forms and expression coercion are properly tested
|
||||||
|
|
||||||
# shared identity function
|
# shared identity function
|
||||||
id = (_) -> if arguments.length is 1 then _ else Array::slice.call(arguments)
|
id = (_) -> if arguments.length is 1 then _ else Array::slice.call(arguments)
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,4 @@
|
||||||
|
# REPL
|
||||||
|
# ----
|
||||||
|
|
||||||
|
# TODO: add tests
|
|
@ -4,6 +4,9 @@
|
||||||
# TODO: refactor string literal tests
|
# TODO: refactor string literal tests
|
||||||
# TODO: add indexing and method invocation tests: "string"["toString"] is String::toString, "string".toString() is "string"
|
# TODO: add indexing and method invocation tests: "string"["toString"] is String::toString, "string".toString() is "string"
|
||||||
|
|
||||||
|
# * Strings
|
||||||
|
# * Heredocs
|
||||||
|
|
||||||
test "backslash escapes", ->
|
test "backslash escapes", ->
|
||||||
eq "\\/\\\\", /\/\\/.source
|
eq "\\/\\\\", /\/\\/.source
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue