Skip to content

Commit f92e4f7

Browse files
committed
Fix sw-stage annotation error
1 parent 1d86077 commit f92e4f7

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

build/angular-scroll-watch.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@
683683
};
684684
}])
685685

686-
.directive(DIR_STAGE, function (scrollWatchService) {
686+
.directive('swStage', ["scrollWatchService", function (scrollWatchService) {
687687
return {
688688
restrict: 'A',
689689
link: function postLink(scope, iElm, iAttrs) {
@@ -707,7 +707,7 @@
707707
});
708708
}
709709
};
710-
});
710+
}]);
711711

712712
function objectSize(obj) {
713713
var c = 0;

build/angular-scroll-watch.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/angular-scroll-watch.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@
683683
};
684684
})
685685

686-
.directive(DIR_STAGE, function (scrollWatchService) {
686+
.directive('swStage', function (scrollWatchService) {
687687
return {
688688
restrict: 'A',
689689
link: function postLink(scope, iElm, iAttrs) {

0 commit comments

Comments
 (0)