Added an extension on node's 'require' module so it can import .coffee module and added some tests to make sure it works.

This commit is contained in:
matehat
2010-03-12 14:22:01 -05:00
parent 3c597dde72
commit 709f17c278
5 changed files with 11 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
# Check if it can import a coffeescript-only module and check its output
ok (require 'test_module').foo is "bar"