Skip to content

Commit 6ea4166

Browse files
authored
changed variable name (#1594)
changed variable name, it sounds like my directory
1 parent 73ea57a commit 6ea4166

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guide/reusability/custom-directives.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Custom directives should only be used when the desired functionality can only be
108108
A directive definition object can provide several hook functions (all optional):
109109

110110
```js
111-
const myDir = {
111+
const myDirective = {
112112
// called before bound element's attributes
113113
// or event listeners are applied
114114
created(el, binding, vnode, prevVnode) {

0 commit comments

Comments
 (0)