Skip to content

Commit 02a533a

Browse files
committed
minor #1035 Fix javascript error - 2 extra closing brackets in _onPreConnect (sponno)
This PR was merged into the 2.x branch. Discussion ---------- Fix javascript error - 2 extra closing brackets in _onPreConnect Code was not valid due to extra closing brackets. Removed extra ")", run code and tested. | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Tickets | No ticket | License | MIT README Fixed an error in _onPreConnect – javascript code was not actually valid. It has an extra closing bracket. Commits ------- 85e0322 Fix javascript error - 2 extra closing brackets in _onPreConnect
2 parents b1a46cd + 85e0322 commit 02a533a

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)