Skip to content

Commit

Permalink
Merge pull request #45 from MichaelBailly/lodash-scrollListener
Browse files Browse the repository at this point in the history
 #44 use direct require(d) lodash
  • Loading branch information
MichaelBailly committed Jul 16, 2020
2 parents 2e8d381 + 3ee3913 commit e071a04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/frontend/js/modules/scroll.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
const _ = require('lodash');
(function(angular) {
'use strict';

Expand Down Expand Up @@ -66,7 +67,7 @@
}
})

.directive('scrollListener', function($parse, esnScrollListenerService, _, SCROLL_DIFF_DELTA) {
.directive('scrollListener', function($parse, esnScrollListenerService, SCROLL_DIFF_DELTA) {
return {
restrict: 'A',
scope: true,
Expand Down

0 comments on commit e071a04

Please sign in to comment.