Skip to content

Commit

Permalink
fix(tap): export isActivatable as a const so its transpiled correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Jun 9, 2016
1 parent 14c7bc2 commit ce3da97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/tap-click/tap-click.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ function getActivatableTarget(ele: HTMLElement) {
/**
* @private
*/
export function isActivatable(ele: HTMLElement) {
export const isActivatable = function(ele: HTMLElement) {
if (ACTIVATABLE_ELEMENTS.test(ele.tagName)) {
return true;
}
Expand Down

2 comments on commit ce3da97

@manucorporat
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@adamdbradley why do you have to do that?

@adamdbradley
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@manucorporat I believe it was from the Babel upgrade, and for whatever reason this stopped working.

Please sign in to comment.