next
Version:
The React Framework
22 lines (20 loc) • 688 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.displayContent = displayContent;
function displayContent() {
return new Promise((resolve)=>{
(window.requestAnimationFrame || setTimeout)(function() {
for(var x = document.querySelectorAll('[data-next-hide-fouc]'), i = x.length; i--;){
x[i].parentNode.removeChild(x[i]);
}
resolve();
});
});
}
if (typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) {
Object.assign(exports.default, exports);
module.exports = exports.default;
}
//# sourceMappingURL=fouc.js.map