(fn)
| 13346 | } |
| 13347 | |
| 13348 | function flushControlled(fn) { |
| 13349 | var previousIsBatchingUpdates = isBatchingUpdates; |
| 13350 | isBatchingUpdates = true; |
| 13351 | try { |
| 13352 | syncUpdates(fn); |
| 13353 | } finally { |
| 13354 | isBatchingUpdates = previousIsBatchingUpdates; |
| 13355 | if (!isBatchingUpdates && !isRendering) { |
| 13356 | performWork(Sync, false, null); |
| 13357 | } |
| 13358 | } |
| 13359 | } |
| 13360 | |
| 13361 | return { |
| 13362 | recalculateCurrentTime: recalculateCurrentTime, |
nothing calls this directly
no test coverage detected