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

Add validation on hooks definition #1

Open
russiann opened this issue Dec 31, 2016 · 0 comments
Open

Add validation on hooks definition #1

russiann opened this issue Dec 31, 2016 · 0 comments

Comments

@russiann
Copy link
Collaborator

russiann commented Dec 31, 2016

Actually we have two types of bundle hooks definition:

One (normal methods):

{
  methodOne: [function,function],
  methodTwo: [function, function]
}

Two (getters and setters):

{
  methodOne: [function, function],
  methodTwo: {
    get: [function, function],
    set: [function, function]
  }
}
@russiann russiann changed the title Add bundle hooks definition validation Add validation on hooks definition Jan 1, 2017
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