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

ref is not defined using ui-sref-active with ui-state #2488

Closed
arcxyz opened this issue Jan 26, 2016 · 3 comments
Closed

ref is not defined using ui-sref-active with ui-state #2488

arcxyz opened this issue Jan 26, 2016 · 3 comments

Comments

@arcxyz
Copy link

arcxyz commented Jan 26, 2016

When combining the new uiState directive with uiSrefActive I get an error. It is related with this line of code where ref is not defined:

if (active) active.$$addStateInfo(ref.state, def.params);

@eddiemonge
Copy link
Contributor

@nateabele Is that a typo?

@nateabele
Copy link
Contributor

Weird... looks like yeah.

@christopherthielen
Copy link
Contributor

Apparently we could use some more coverage for the new directive

jrcPinappol added a commit to jrcPinappol/ui-router that referenced this issue Feb 1, 2016
christopherthielen added a commit that referenced this issue Feb 1, 2016
fix(uiState): Corrected variable (#2488, #2508)
christopherthielen added a commit that referenced this issue Feb 14, 2016
when ui-state dynamicly changes watchers, make sure to update the ui-sref-active/eq
Closes #2488
ExpFront pushed a commit to ExpFront/ui-router that referenced this issue Jun 23, 2016
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

4 participants