Skip to content

Commit

Permalink
Remove off function from public API
Browse files Browse the repository at this point in the history
  • Loading branch information
demiazz committed May 3, 2017
1 parent f5723c2 commit 57e9671
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 80 deletions.
1 change: 0 additions & 1 deletion d.ts/homey.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,3 @@ export function remove(element: Element): boolean;

export function on(Element: Element, eventTypes: EventTypes, listener: Function): () => void;
export function once(Element: Element, eventTypes: EventTypes, listener: Function): () => void;
export function off(Element: Element, eventTypes: EventTypes, listener: Function): void;
76 changes: 0 additions & 76 deletions spec/off.spec.js

This file was deleted.

5 changes: 2 additions & 3 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function toggleClass(
return toggleFn(element, cssClass);
}

/*
/*
* Dataset
*/

Expand Down Expand Up @@ -286,6 +286,5 @@ export {
remove,
/* events */
on,
once,
off
once
};

0 comments on commit 57e9671

Please sign in to comment.