UNPKG

cesletter

Version:

Provides the Letter to a CES Director in a variety of useful formats

3 lines (2 loc) 1.05 kB
!function(){"use strict";function t(t,e,n){for(var o=0;o<t.length;o++)e.call(n,o,t[o])}function e(e,n){var o=[];t(n.querySelector("tr").children,function(t,e){o.push(e.innerHTML),e.scope="col"}),t(n.querySelectorAll("tr"),function(e,n){t(n.children,function(t,e){0===t?e.setAttribute("scope","row"):e.setAttribute("data-title",o[t])})})}function n(){t(document.querySelectorAll("table.responsive"),e)}function o(t,e,n){var o="function"==typeof e?e:function(){},c="function"==typeof n?n:function(){},r=window.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject("Microsoft.XMLHTTP");r.open("HEAD",t),r.onreadystatechange=function(){return r.readyState>3?200===r.status?o():c():null},r.send()}function c(){t(document.querySelectorAll("a[data-offline-marker]"),function(t,e){e.href=e.title||e.href})}function r(){var t=document.querySelector("a[data-offline-marker]");t&&t instanceof HTMLAnchorElement?o(t.href,function(){},c):c()}function u(){r(),n()}document.addEventListener("DOMContentLoaded",function(){u()})}(); //# sourceMappingURL=index.js.map