Sha256: 1d3509dcd51e93af5e3194e97c2c7200c179b31ad52788b2f0f30c5726921824

Contents?: true

Size: 1.73 KB

Versions: 1

Compression:

Stored size: 1.73 KB

Contents

!function(n,a){var u,t,o;n.__required||(n.__required={}),t=function(e){var r,d,i;if("undefined"!=typeof __required[e]&&!__required[e].loaded&&(__required[e].loaded=!0,d=__required[e].callbacks,Array.isArray(d))){for(i=[];0<d.length;)"function"==typeof(r=d.shift())?i.push(r.call(n,__required[e])):i.push(void 0);return i}},u=function(e,r){var d,i;if(!(i=__required[e]).loaded)return d=r.onload,r.onload=function(){return t(e)},"function"==typeof r.addEventListener&&r.addEventListener("load",function(){return t(e)}),"function"==typeof r.attachEvent&&r.attachEvent("load",function(){return t(e)}),"function"==typeof d?i.callbacks.push(d):void 0},o=function(e,r){var d;if("undefined"!=typeof __required[e])return(d=__required[e]).loaded?setTimeout(r,0):"function"==typeof r?d.callbacks.push(r):void 0},n.miniRequire||(n.miniRequire=function(e,r,d){var i,n;return null==d&&(d=void 0),e||(e=Math.random().toString(36).slice(2,12)),i="source_"+e.replace(/[^a-z0-9_\-]+/gi,"_"),__required[i]||(__required[i]={loaded:!1,callbacks:[],started:!1}),0<(null!=r?r.length:void 0)?__required[i].started?o(i,d):(__required[i].started=!0,(n=a.createElement("script")).id=i,n.async=!0,n.defer=!0,n.src=r,__required[i].node=n,u(i,n),o(i,d),a.body.appendChild(n),!0):o(i,d)}),n.miniPreload||(n.miniPreload=function(e,r){var d,i,n,t;return null==r&&(r=void 0),i=e.key||Math.random().toString(36).slice(2,12),r||(r=e.callback),n=e.src,d="source_"+i.replace(/[^a-z0-9_\-]+/gi,"_"),__required[d]||(__required[d]={loaded:!1,callbacks:[],started:!1}),0<(null!=n?n.length:void 0)?__required[d].started?o(d,r):(__required[d].started=!0,(t=a.createElement("link")).id=d,t.rel="preload",t.href=n,t.as=e.as||"style",__required[d].node=t,u(d,t),o(d,r),a.head.appendChild(t),!0):o(d,r)})}(window,document);

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
izi_lightup-1.0.22 app/assets/javascripts/crit-utils/mini_require.min.js