mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-16 18:44:56 -05:00
allowing naked interpolation of dotted properties. .property
This commit is contained in:
@@ -54,6 +54,7 @@ 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?'
|
||||
ok "Where is $obj.name?" is 'Where is Joe?'
|
||||
|
||||
ok "Where is ${"the new ${obj["name"]}"}?" is 'Where is the new Joe?'
|
||||
ok "Hello ${world ? "$hello"}" is 'Hello World'
|
||||
|
||||
Reference in New Issue
Block a user