Sha256: 7d11c19aab0f245131a343dd117716f4eab47c4742d28648cc73f277cf126369
Contents?: true
Size: 947 Bytes
Versions: 49
Compression:
Stored size: 947 Bytes
Contents
!function(t){function e(t){t.registerRegistry=Object.create(null),t.namedRegisterAliases=Object.create(null)}var r=("undefined"!=typeof self?self:global).System;e(r);var i,s,n=r.constructor.prototype,l=r.constructor,a=function(){l.call(this),e(this)};a.prototype=n,r.constructor=a;var o=n.register;n.register=function(t,e,r){if("string"!=typeof t)return o.apply(this,arguments);var n=[e,r];return this.registerRegistry[t]=n,i||(i=n,s=t),Promise.resolve().then((function(){i=null,s=null})),o.call(this,e,r)};var c=n.resolve;n.resolve=function(t,e){try{return c.call(this,t,e)}catch(e){if(t in this.registerRegistry)return this.namedRegisterAliases[t]||t;throw e}};var u=n.instantiate;n.instantiate=function(t,e){var r=this.registerRegistry[t];return r?(this.registerRegistry[t]=null,r):u.call(this,t,e)};var g=n.getRegister;n.getRegister=function(t){var e=g.call(this,t);s&&t&&(this.namedRegisterAliases[s]=t);var r=i||e;return i=null,s=null,r}}();
Version data entries
49 entries across 49 versions & 2 rubygems