Skip to content

Commit 9dd6fe8

Browse files
committed
Runtime format
1 parent 8d17cfb commit 9dd6fe8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runtime/js/effect.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function uncaught_effect_handler_cps(eff, k, ms, cont) {
109109
//If: effects
110110
//If: doubletranslate
111111
//Weakdef
112-
var uncaught_effect_handler = { cps : uncaught_effect_handler_cps };
112+
var uncaught_effect_handler = { cps: uncaught_effect_handler_cps };
113113

114114
//Provides: caml_fiber_stack
115115
//If: effects
@@ -177,7 +177,7 @@ function caml_perform_effect(eff, cont, k0) {
177177
// The handler is defined in Stdlib.Effect, so we know that the arity matches
178178
var k1 = caml_pop_fiber();
179179
return caml_stack_check_depth()
180-
? (caml_get_cps_fun(handler))(eff, cont, k1, k1)
180+
? caml_get_cps_fun(handler)(eff, cont, k1, k1)
181181
: caml_trampoline_return(handler, [eff, cont, k1, k1]);
182182
}
183183

0 commit comments

Comments
 (0)