Skip to content

Commit ec2e83c

Browse files
committed
Added clearTimeout to the exec.rb polyfil.
1 parent 1d69236 commit ec2e83c

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ Contributors: please follow the recommendations outlined at [keepachangelog.com]
55

66
## [Unreleased]
77

8+
## [6.0.4]
9+
##### Fixed
10+
- Added polyfill for clearTimeout which is used by babel-polyfill.
11+
812
## [6.0.3]
913
##### Fixed
1014
- Added assets symlinking support on Heroku [#446](https://github.com/shakacode/react_on_rails/pull/446) by [Alexey Karasev](https://github.com/alleycat-at-git).
@@ -345,7 +349,8 @@ Best done with Object destructing:
345349
##### Fixed
346350
- Fix several generator related issues.
347351

348-
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/6.0.3...master
352+
[Unreleased]: https://github.com/shakacode/react_on_rails/compare/6.0.4...master
353+
[6.0.4]: https://github.com/shakacode/react_on_rails/compare/6.0.3...6.0.4
349354
[6.0.3]: https://github.com/shakacode/react_on_rails/compare/6.0.2...6.0.3
350355
[6.0.2]: https://github.com/shakacode/react_on_rails/compare/6.0.1...6.0.2
351356
[6.0.1]: https://github.com/shakacode/react_on_rails/compare/6.0.0...6.0.1

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)