(fn)
| 13858 | } |
| 13859 | |
| 13860 | function flushControlled(fn) { |
| 13861 | var previousIsBatchingUpdates = isBatchingUpdates; |
| 13862 | isBatchingUpdates = true; |
| 13863 | try { |
| 13864 | syncUpdates(fn); |
| 13865 | } finally { |
| 13866 | isBatchingUpdates = previousIsBatchingUpdates; |
| 13867 | if (!isBatchingUpdates && !isRendering) { |
| 13868 | performWork(Sync, false, null); |
| 13869 | } |
| 13870 | } |
| 13871 | } |
| 13872 | |
| 13873 | return { |
| 13874 | recalculateCurrentTime: recalculateCurrentTime, |
nothing calls this directly
no test coverage detected