(fn)
| 14236 | } |
| 14237 | |
| 14238 | function flushControlled(fn) { |
| 14239 | var previousIsBatchingUpdates = isBatchingUpdates; |
| 14240 | isBatchingUpdates = true; |
| 14241 | try { |
| 14242 | syncUpdates(fn); |
| 14243 | } finally { |
| 14244 | isBatchingUpdates = previousIsBatchingUpdates; |
| 14245 | if (!isBatchingUpdates && !isRendering) { |
| 14246 | performWork(Sync, false, null); |
| 14247 | } |
| 14248 | } |
| 14249 | } |
| 14250 | |
| 14251 | return { |
| 14252 | recalculateCurrentTime: recalculateCurrentTime, |
nothing calls this directly
no test coverage detected