(fn)
| 13218 | } |
| 13219 | |
| 13220 | function flushControlled(fn) { |
| 13221 | var previousIsBatchingUpdates = isBatchingUpdates; |
| 13222 | isBatchingUpdates = true; |
| 13223 | try { |
| 13224 | syncUpdates(fn); |
| 13225 | } finally { |
| 13226 | isBatchingUpdates = previousIsBatchingUpdates; |
| 13227 | if (!isBatchingUpdates && !isRendering) { |
| 13228 | performWork(Sync, false, null); |
| 13229 | } |
| 13230 | } |
| 13231 | } |
| 13232 | |
| 13233 | return { |
| 13234 | recalculateCurrentTime: recalculateCurrentTime, |
nothing calls this directly
no test coverage detected