mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
3 lines
191 B
CoffeeScript
3 lines
191 B
CoffeeScript
# Check if we can import and execute a CoffeeScript-only module successfully.
|
|
if require?.extensions? or require?.registerExtension?
|
|
ok require('./test_module').func() is "from over there"
|