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: nav fixes #14

Merged
merged 9 commits into from
Feb 6, 2015
Merged

Fix: nav fixes #14

merged 9 commits into from
Feb 6, 2015

Conversation

jamesjwarren
Copy link
Member

This PR is an assortment of navigation fixes. Mainly cleaning up, in particular snNavbar:scrollSectionChanged now only broadcasts useful data like the section and nav style rather than the whole duScroll event.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.39%) to 61.87% when pulling cdee3de on feature/nav-fixes into 93bf1ed on develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+4.93%) to 67.19% when pulling 2db11f5 on feature/nav-fixes into 93bf1ed on develop.

@@ -29,17 +29,27 @@ angular.module("thisissoon.nav.snNavCounter", [
$scope.sections = NAV;
$scope.sectionCurrent = 1;

var activeNav, activeLi, activeIndex, ul;
var activeLi, activeIndex, ul;

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's always good practice to write documentation for all your variables and functions so you can refer to it when you come back to it in the future if you forget and more importantly for others looking at your code

@coveralls
Copy link

Coverage Status

Coverage increased (+5.06%) to 67.32% when pulling 8f82533 on feature/nav-fixes into 93bf1ed on develop.

@edoparearyee
Copy link
Collaborator

LGTM 👍

jamesjwarren added a commit that referenced this pull request Feb 6, 2015
@jamesjwarren jamesjwarren merged commit 4721b06 into develop Feb 6, 2015
@jamesjwarren jamesjwarren deleted the feature/nav-fixes branch February 6, 2015 17:00
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