(fn)
| 13985 | } |
| 13986 | |
| 13987 | function flushControlled(fn) { |
| 13988 | var previousIsBatchingUpdates = isBatchingUpdates; |
| 13989 | isBatchingUpdates = true; |
| 13990 | try { |
| 13991 | syncUpdates(fn); |
| 13992 | } finally { |
| 13993 | isBatchingUpdates = previousIsBatchingUpdates; |
| 13994 | if (!isBatchingUpdates && !isRendering) { |
| 13995 | performWork(Sync, false, null); |
| 13996 | } |
| 13997 | } |
| 13998 | } |
| 13999 | |
| 14000 | return { |
| 14001 | recalculateCurrentTime: recalculateCurrentTime, |
nothing calls this directly
no test coverage detected