Skip to content

Commit

Permalink
Merge pull request #316 from gahia/patch-1
Browse files Browse the repository at this point in the history
Update events.md
  • Loading branch information
leastbad authored Oct 3, 2020
2 parents d9c0595 + c502f64 commit 9ed1b7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/events.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Let's set up a simple example: we will debounce your page scroll events while ke
```javascript
import { Controller } from 'stimulus'
import StimulusReflex from 'stimulus_reflex'
import { debounce } from 'lodash-es'
import { debounce } from 'lodash-es/debounce'

export default class extends Controller {
connect () {
Expand Down Expand Up @@ -191,7 +191,7 @@ First, let's tackle a creative use of `throttle`. We're going to allow the user
```javascript
import { Controller } from 'stimulus'
import StimulusReflex from 'stimulus_reflex'
import { throttle } from 'lodash-es'
import { throttle } from 'lodash-es/throttle'

export default class extends Controller {
connect () {
Expand Down Expand Up @@ -303,7 +303,7 @@ end
```javascript
import { Controller } from 'stimulus'
import StimulusReflex from 'stimulus_reflex'
import { debounce } from 'lodash-es'
import { debounce } from 'lodash-es/debounce'

export default class extends Controller {
connect () {
Expand Down

0 comments on commit 9ed1b7a

Please sign in to comment.