mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-17 02:51:25 -05:00
Rewriting string tokenizer; allowing nested double-quoted strings inside expression interpolations.
This commit is contained in:
committed by
Jeremy Ashkenas
parent
e977967eb5
commit
83fd84745d
@@ -48,3 +48,8 @@ obj: {
|
||||
hi: -> "Hello $@name."
|
||||
}
|
||||
ok obj.hi() is "Hello Joe."
|
||||
|
||||
ok "I can has ${"cheeze"}" is 'I can has cheeze'
|
||||
ok 'I can has ${"cheeze"}' is 'I can has ${"cheeze"}'
|
||||
|
||||
ok "Where is ${obj["name"] + '?'}" is 'Where is Joe?'
|
||||
|
||||
Reference in New Issue
Block a user