17 lines
259 B
Plaintext
17 lines
259 B
Plaintext
|
util = require "my.module"
|
||
|
|
||
|
a_table = {
|
||
|
foo: 'bar'
|
||
|
interpolated: "foo-#{other.stuff 2 + 3}"
|
||
|
"string": 2
|
||
|
do: 'keyword'
|
||
|
}
|
||
|
|
||
|
class MyClass extends SomeClass
|
||
|
new: (@init, arg2 = 'default') =>
|
||
|
@derived = @init + 2
|
||
|
super!
|
||
|
|
||
|
other: =>
|
||
|
@foo + 2
|