Skip to content

Commit 67c0f42

Browse files
committed
add clearTimeout polyfill to execjs server rendering
1 parent 3fe05f9 commit 67c0f42

File tree

1 file changed

+4
-0
lines changed
  • lib/react_on_rails/server_rendering_pool

1 file changed

+4
-0
lines changed

lib/react_on_rails/server_rendering_pool/exec.rb

+4
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,10 @@ def execjs_timer_polyfills
132132
function setTimeout() {
133133
#{undefined_for_exec_js_logging('setTimeout')}
134134
}
135+
136+
function clearTimeout() {
137+
#{undefined_for_exec_js_logging('clearTimeout')}
138+
}
135139
JS
136140
end
137141

0 commit comments

Comments
 (0)