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

Fix activeLinks, when the url is not index #410

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lokcito
Copy link

@lokcito lokcito commented Nov 20, 2016

A route can be, /accounting/generals/#/ticket", then It won't be recognized by activeLinks.
But with this three lines, it will work.
It happens, because I'm trying mobile-angular-ui in desktop browser.

A route can be, /accounting/generals/#/ticket", then It won't be recognized by activeLinks.
But with this three lines, it will work.
@mcasimir
Copy link
Owner

@lokcito very nice catch!

Anyway.. Sorry to not have a proper contribution guideline but you should use at least http://editorconfig.org/ to avoid mixing spaces and tabs and honor the project policy regarding code style through eslint.

Also for mobile angular ui, as a bare minimum before to send a PR you should run npm run lint && npm run test:unit on your local environment and fix eventual issues you introduced by mistake.

Then, before the PR is accepted it is required to "not let the coverage decrease".. it means that if you introduced a new behaviour you should write a test for it.

Rarely I receive contribution with tests, so I can write them as well, but please fix the spacing and linting. Thanks!

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.

2 participants