22 lines
495 B
JavaScript
22 lines
495 B
JavaScript
/**
|
|
* @flow strict-local
|
|
* @format
|
|
* @providesInline resize_plugin
|
|
*/
|
|
/*globals message, origin, __nativeHelper*/
|
|
(function () {
|
|
// $FlowFixMe[incompatible-use]
|
|
// $FlowFixMe[incompatible-use]
|
|
if (x) {
|
|
} else {
|
|
// In iOS, we have to wait a minimum of time before trying to close the
|
|
// window, this is most lightly related to the time it takes to animate the
|
|
// tab change.
|
|
var delay = x;
|
|
if (delay) {
|
|
x(function () {}, delay);
|
|
} else {
|
|
}
|
|
}
|
|
})();
|