Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for index files in directories #10

Closed
CHH opened this issue Aug 8, 2012 · 1 comment
Closed

Support for index files in directories #10

CHH opened this issue Aug 8, 2012 · 1 comment

Comments

@CHH
Copy link
Owner

CHH commented Aug 8, 2012

No description provided.

@CHH
Copy link
Owner Author

CHH commented Aug 11, 2012

Basic support is now in master, but it's currently only possible to require directories if the index file has the same extension as the file which is requiring.

So for example, if a directory widget is required in a file app.js then it looks for a file widget/index.js. So it's not possible to include directories including a index.coffee from an .js file.

@CHH CHH closed this as completed Aug 15, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant