Skip to content

Commit 7b3839e

Browse files
committed
Fix typo in JavaScript.Web.MessageEvent.js_getData
1 parent e827ded commit 7b3839e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

JavaScript/Web/MessageEvent.hs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,5 @@ getData me = case js_getData me of
3939

4040
foreign import javascript unsafe
4141
"$r2 = $1.data;\
42-
\$r1 = typeof $r2 === 'string' ? 1 : ($r2 instanceof ArrayBuffer ? 2 : 3"
42+
\$r1 = typeof $r2 === 'string' ? 1 : ($r2 instanceof ArrayBuffer ? 2 : 3)"
4343
js_getData :: MessageEvent -> (# Int#, JSVal #)
44-

0 commit comments

Comments
 (0)