1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00
jashkenas--coffeescript/test/test_importing.coffee

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"