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

added missing argument in autofocus directive Class #118

Merged
merged 1 commit into from
Aug 31, 2016

Conversation

adiman9
Copy link
Contributor

@adiman9 adiman9 commented Aug 31, 2016

I spotted that the constructor in the Class for the autofocus directive was missing the injected $timeout. See the below image for context.

selection_001

I went ahead and made the change.

@floriangosse
Copy link
Contributor

Thank you!

I notice right now that $timeout is not accessible in the link method because it is not assigned to a property of the object. If you have time it would be nice if you could add this. :)

@toddmotto
Copy link
Owner

Was literally about to post that this.$timeout = $timeout; needs adding in the constructor and then this.$timeout(...) inside link() {...} :)

@adiman9
Copy link
Contributor Author

adiman9 commented Aug 31, 2016

Yes! I had missed that. I will add and update now

@adiman9
Copy link
Contributor Author

adiman9 commented Aug 31, 2016

Done. Is there anything else I have missed?

@toddmotto
Copy link
Owner

Don't think so, if you have 30seconds to paste the same code inside the translated files (i18n folder) that'd be amazing! :)

@adiman9
Copy link
Contributor Author

adiman9 commented Aug 31, 2016

Sure. Will do now

further additions to constructor

Changed constructor code in translations
@adiman9
Copy link
Contributor Author

adiman9 commented Aug 31, 2016

done

@toddmotto toddmotto merged commit 167279d into toddmotto:master Aug 31, 2016
@toddmotto
Copy link
Owner

Perfect, thanks so much for the help :)!

@adiman9 adiman9 deleted the pr/typo branch August 31, 2016 14:42
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

Successfully merging this pull request may close these issues.

None yet

3 participants