Skip to content

Commit

Permalink
refactor: rebuild slick vanilla bundle zip file
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghislain Beaulac authored and Ghislain Beaulac committed Nov 19, 2020
1 parent 08c31d8 commit b0e0081
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
*.map
*.md
*.zip
*.spec.ts
**/dist/*.*
2 changes: 1 addition & 1 deletion packages/common/src/services/bindingEvent.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export class BindingEventService {
/** Unbind all will remove every every event handlers that were bounded earlier */
unbindAll() {
while (this._boundedEvents.length > 0) {
const boundedEvent = this._boundedEvents.pop();
const boundedEvent = this._boundedEvents.pop() as ElementEventListener;
const { element, eventName, listener } = boundedEvent;
if (element?.removeEventListener) {
element.removeEventListener(eventName, listener);
Expand Down
Binary file not shown.

0 comments on commit b0e0081

Please sign in to comment.