Please sign in to comment.
Fallback to module/index, if necessary. Aligning more to node's requi…
…re() For example, if you have the structure app/ views/ test/ index.coffee You can require('app/views/test') and it will load 'app/views/test/index'. If you did have an 'app/views/test.coffee' file, it wouldn't look for the index.
- Loading branch information...
Showing with 21 additions and 4 deletions.