Skip to content

Commit

Permalink
Merge branch 'master' into feature/fix-position-from-top
Browse files Browse the repository at this point in the history
  • Loading branch information
edoparearyee committed Jun 13, 2016
2 parents 9fe460c + fc27952 commit ef0325a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion app/js/smartNav.js
Expand Up @@ -37,7 +37,6 @@ angular.module('sn.smartNav', [
function ($window, $document){
return {
restrict: 'A',
scope: {},
link: function($scope, $element){
/**
* The last recorded scrollTop position
Expand Down
4 changes: 1 addition & 3 deletions tests/unit/smartNav.js
Expand Up @@ -2,7 +2,7 @@

describe('sn.smartNav', function (){

var element, $scope, $rootScope, $document, $window, isolatedScope;
var element, $scope, $rootScope, $document, $window;

beforeEach(module('sn.smartNav'));

Expand All @@ -27,8 +27,6 @@ describe('sn.smartNav', function (){
element = $compile(element)($scope);
$scope.$digest();

isolatedScope = element.isolateScope();

}));

afterEach(function(){
Expand Down

0 comments on commit ef0325a

Please sign in to comment.