Sha256: 2ead1fc985c3ccb0bbb41b8afa470224d1aa7cb4d786aeb8288f70e0e146d59f
Contents?: true
Size: 883 Bytes
Versions: 11
Compression:
Stored size: 883 Bytes
Contents
/*eslint-env browser*/ var clientOverlay = document.createElement('div'); clientOverlay.style.display = 'none'; clientOverlay.style.background = '#fdd'; clientOverlay.style.color = '#000'; clientOverlay.style.position = 'fixed'; clientOverlay.style.zIndex = 9999; clientOverlay.style.left = 0; clientOverlay.style.right = 0; clientOverlay.style.top = 0; clientOverlay.style.bottom = 0; clientOverlay.style.overflow = 'auto'; if (document.body) { document.body.appendChild(clientOverlay); } exports.showProblems = function showProblems(lines) { clientOverlay.innerHTML = ''; clientOverlay.style.display = 'block'; lines.forEach(function(msg) { var pre = document.createElement('pre'); pre.textContent = msg; clientOverlay.appendChild(pre); }); }; exports.clear = function clear() { clientOverlay.innerHTML = ''; clientOverlay.style.display = 'none'; };
Version data entries
11 entries across 11 versions & 1 rubygems