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

use class keyword in ES6 to handle resource created. #22

Closed
zackyang000 opened this issue May 25, 2015 · 1 comment
Closed

use class keyword in ES6 to handle resource created. #22

zackyang000 opened this issue May 25, 2015 · 1 comment

Comments

@zackyang000
Copy link
Owner

eg.

books = new Resource({title: String});

books.post.auth = ...;
books.actions['50-off'] = ...;
books.maxTop = ...;
@zackyang000
Copy link
Owner Author

done.

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