diff --git a/app/js/smartNav.js b/app/js/smartNav.js index 3e7152f..c4b9fc3 100644 --- a/app/js/smartNav.js +++ b/app/js/smartNav.js @@ -37,7 +37,6 @@ angular.module('sn.smartNav', [ function ($window, $document){ return { restrict: 'A', - scope: {}, link: function($scope, $element){ /** * The last recorded scrollTop position diff --git a/tests/unit/smartNav.js b/tests/unit/smartNav.js index 1fb8bbe..b4c97ba 100644 --- a/tests/unit/smartNav.js +++ b/tests/unit/smartNav.js @@ -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')); @@ -27,8 +27,6 @@ describe('sn.smartNav', function (){ element = $compile(element)($scope); $scope.$digest(); - isolatedScope = element.isolateScope(); - })); afterEach(function(){