(element, callback)
| 1175 | } |
| 1176 | |
| 1177 | function afterReflow(element, callback) { |
| 1178 | if(cancelAnimationReflow) { |
| 1179 | cancelAnimationReflow(); |
| 1180 | } |
| 1181 | animationReflowQueue.push(callback); |
| 1182 | cancelAnimationReflow = $$animateReflow(function() { |
| 1183 | forEach(animationReflowQueue, function(fn) { |
| 1184 | fn(); |
| 1185 | }); |
| 1186 | |
| 1187 | animationReflowQueue = []; |
| 1188 | cancelAnimationReflow = null; |
| 1189 | lookupCache = {}; |
| 1190 | }); |
| 1191 | } |
| 1192 | |
| 1193 | var closingTimer = null; |
| 1194 | var closingTimestamp = 0; |
no test coverage detected