function Loader(options) {
      if (typeof options != 'object')
        throw new TypeError('Options must be an object');

      if (options.normalize)
        this.normalize = options.normalize;
      if (options.locate)
        this.locate = options.locate;
      if (options.fetch)
        this.fetch = options.fetch;
      if (options.translate)
        this.translate = options.translate;
      if (options.instantiate)
        this.instantiate = options.instantiate;

      this._loader = {
        loaderObj: this,
        loads: [],
        modules: {}
      };

      defineProperty(this, 'global', {
        get: function() {
          return global;
        }
      });
      defineProperty(this, 'realm', {
        get: function() {
          throw new TypeError('Realms not implemented in polyfill');
        }
      });
    }
function Loader(options) {
      if (typeof options != 'object')
        throw new TypeError('Options must be an object');

      if (options.normalize)
        this.normalize = options.normalize;
      if (options.locate)
        this.locate = options.locate;
      if (options.fetch)
        this.fetch = options.fetch;
      if (options.translate)
        this.translate = options.translate;
      if (options.instantiate)
        this.instantiate = options.instantiate;

      this._loader = {
        loaderObj: this,
        loads: [],
        modules: {}
      };

      defineProperty(this, 'global', {
        get: function() {
          return global;
        }
      });
      defineProperty(this, 'realm', {
        get: function() {
          throw new TypeError('Realms not implemented in polyfill');
        }
      });
    }
function Loader ( options ) { if ( typeof options != 'object' ) throw new TypeError ( 'Options must be an object' ) ; if ( options . normalize ) this . normalize = options . normalize ; if ( options . locate ) this . locate = options . locate ; if ( options . fetch ) this . fetch = options . fetch ; if ( options . translate ) this . translate = options . translate ; if ( options . instantiate ) this . instantiate = options . instantiate ; this . _loader = { loaderObj : this , loads : [ ] , modules : { } } ; defineProperty ( this , 'global' , { get : function ( ) { return global ; } } ) ; defineProperty ( this , 'realm' , { get : function ( ) { throw new TypeError ( 'Realms not implemented in polyfill' ) ; } } ) ; }
Loader
Loader