8 lines
190 B
Plaintext
8 lines
190 B
Plaintext
|
# -*- mode: snippet -*-
|
||
|
# name: addEventListener
|
||
|
# key: ael
|
||
|
# uuid: ael
|
||
|
# --
|
||
|
`(unless (eq (char-before) ?.) ".")`addEventListener('${1:DOMContentLoaded}', () => {
|
||
|
`%`$0
|
||
|
})`(if (eolp) ";")`
|