Skip to content

Commit 85e0322

Browse files
authored
Fix javascript error - 2 extra closing brackets in _onPreConnect
Code was not valid due to extra closing brackets. Removed extra ")", run code and tested.
1 parent 670a37a commit 85e0322

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Typed/doc/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@ Stimulus controller:
108108
console.log(event.detail.options); // Options that will be used to initialize Typed
109109
event.detail.options.onBegin = (typed) => {
110110
console.log("Typed is ready to type cool messages!");
111-
});
111+
};
112112
event.detail.options.onStop = (typed) => {
113113
console.log("OK. Enough is enough.");
114-
});
114+
};
115115
}
116116
117117
_onConnect(event) {

0 commit comments

Comments
 (0)