Skip to content

Commit 1f45d25

Browse files
author
Jan Bílek
committed
Change directive to update hook
1 parent 5a5a992 commit 1f45d25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/registerDirective.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Prism from 'prism-es6';
22

33
export default {
4-
bind(el) {
4+
update(el) {
55
Prism.highlightAllUnder(el);
66
},
77
};

0 commit comments

Comments
 (0)