-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathr.min.js
2 lines (2 loc) · 1.1 KB
/
r.min.js
1
2
/*simple-require-loader 0.1.0 - Copyright (c) 2016-current, Isiah Meadows. Licensed under the ISC License.*/
!function(e,n,t,r,i){"use strict";e.r=e.r||{unload:function(e){delete t[e],delete r[e]},defined:function(e){return e in t},required:function(e){return e in t&&!(e in r)},require:i=function(e){if(e in t){if(e in r){var n=r[e];delete r[e],n=n(t[e]),t[e]=null!=n?n:t[e]}return t[e]}throw Error("Could not find module: "+e)},module:function(e,n){if(e in t)throw Error("Module already defined: "+e);t[e]=null!=n?n:{},delete r[e]},define:function(e,n){if(e in t)throw Error("Module already defined: "+e);t[e]={},r[e]=n},load:function(e,t,r){function o(){if(null!=e)try{e=i(e)}catch(e){return r(e)}r(null,e)}if(null==r&&(r=t,t=e,e=null),null!=n){var l=n.createElement("script");l.src=t,l.onload=function(e){e.preventDefault(),e.stopPropagation(),n.body.removeChild(l),o()},l.onerror=function(e){e.preventDefault(),e.stopPropagation(),n.body.removeChild(l),r(e)},n.body.appendChild(l)}else setTimeout(function(){try{importScripts(t)}catch(e){return r(e)}o()},0)}}}(this,this.document,Object.create(null),Object.create(null));