Skip to content

Commit c294e19

Browse files
committed
rename parse to parseActionAttribute
1 parent 901e117 commit c294e19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/actionable.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {registerTag, observeElementForTags, parseElementTags} from './tag-observ
44
import {controllable, attachShadowCallback} from './controllable.js'
55
import {createAbility} from './ability.js'
66

7-
const parse = (tag: string): [tagName: string, event: string, method: string] => {
7+
const parseActionAttribute = (tag: string): [tagName: string, event: string, method: string] => {
88
const eventSep = tag.lastIndexOf(':')
99
const methodSep = Math.max(0, tag.lastIndexOf('#')) || tag.length
1010
return [tag.slice(eventSep + 1, methodSep), tag.slice(0, eventSep), tag.slice(methodSep + 1) || 'handleEvent']

0 commit comments

Comments
 (0)