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 restmod.model().$mix() but $mix is not defined #178

Closed
tamaspap opened this issue Oct 4, 2014 · 3 comments
Closed

Use restmod.model().$mix() but $mix is not defined #178

tamaspap opened this issue Oct 4, 2014 · 3 comments
Labels
Milestone

Comments

@tamaspap
Copy link

tamaspap commented Oct 4, 2014

In console there appears a warning with:

Passing mixins and difinitions in the model method will be deprecated in restmod 1.2, use restmod.model().$mix() instead., but when using .$mix I got an undefined error.

In dist/angular-restmod.js the $mix method in not present. Maybe there's need for a rebuild, but for people using this via bower it's a problem.

@tamaspap tamaspap closed this as completed Oct 4, 2014
@tamaspap tamaspap reopened this Oct 4, 2014
@tamaspap
Copy link
Author

tamaspap commented Oct 4, 2014

At this moment I don't see error message when using $mix, it's simply not working. Is this happening only for me, or also for you guys?

@iobaixas
Copy link
Member

iobaixas commented Oct 4, 2014

Oh! the warning is wrong! it should say mix and not $mix. I'll fix it as soon as posible.

Thanks!

@iobaixas iobaixas added the bug label Oct 4, 2014
@iobaixas iobaixas added this to the 1.2 milestone Oct 4, 2014
@tamaspap
Copy link
Author

tamaspap commented Oct 5, 2014

Awesome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants