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

Change resource description to work like models #26

Closed
Dashron opened this issue Jun 28, 2012 · 1 comment
Closed

Change resource description to work like models #26

Dashron opened this issue Jun 28, 2012 · 1 comment

Comments

@Dashron
Copy link
Owner

Dashron commented Jun 28, 2012

resource_module.get(name) should just be an abstraction for require(resource_name).
It should not construct the resource, and handle it there, resource descriptions should follow the pattern of....

module.exports = new Resource({
//description
});

@Dashron
Copy link
Owner Author

Dashron commented Jul 11, 2012

#34

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

No branches or pull requests

1 participant