Skip to content

Commit

Permalink
add clearTimeout polyfill to execjs server rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaopow committed Jun 11, 2016
1 parent 3fe05f9 commit 67c0f42
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/react_on_rails/server_rendering_pool/exec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,10 @@ def execjs_timer_polyfills
function setTimeout() {
#{undefined_for_exec_js_logging('setTimeout')}
}
function clearTimeout() {
#{undefined_for_exec_js_logging('clearTimeout')}
}
JS
end

Expand Down

0 comments on commit 67c0f42

Please sign in to comment.