{"name":"aurelia-loader-default","children":[{"id":12,"name":"DefaultLoader","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"A default implementation of the Loader abstraction which works with SystemJS, RequireJS and Dojo Loader."},"children":[{"id":14,"name":"constructor","kind":512,"kindString":"Constructor","flags":{"isExported":true},"comment":{"shortText":"Creates an instance of the DefaultLoader."},"signatures":[{"id":15,"name":"new DefaultLoader","kind":16384,"kindString":"Constructor signature","flags":{},"comment":{"shortText":"Creates an instance of the DefaultLoader."},"type":{"type":"reference","name":"DefaultLoader","id":12},"overwrites":{"type":"reference","name":"Loader.__constructor"}}],"overwrites":{"type":"reference","name":"Loader.__constructor"}},{"id":13,"name":"textPluginName","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The name of the underlying native loader plugin used to load text."},"type":{"type":"instrinct","name":"string"}},{"id":47,"name":"addPlugin","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":48,"name":"addPlugin","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a plugin with the loader."},"parameters":[{"id":49,"name":"pluginName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The name of the plugin."},"type":{"type":"instrinct","name":"string"}},{"id":50,"name":"implementation","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The plugin implementation.\n"},"type":{"type":"reference","name":"LoaderPlugin"}}],"type":{"type":"instrinct","name":"void"},"inheritedFrom":{"type":"reference","name":"Loader.addPlugin"}}],"inheritedFrom":{"type":"reference","name":"Loader.addPlugin"}},{"id":43,"name":"applyPluginToUrl","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":44,"name":"applyPluginToUrl","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Alters a module id so that it includes a plugin loader.","returns":"The plugin-based module id.\n"},"parameters":[{"id":45,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The url of the module to load."},"type":{"type":"instrinct","name":"string"}},{"id":46,"name":"pluginName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The plugin to apply to the module id."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"string"},"inheritedFrom":{"type":"reference","name":"Loader.applyPluginToUrl"}}],"inheritedFrom":{"type":"reference","name":"Loader.applyPluginToUrl"}},{"id":51,"name":"getOrCreateTemplateRegistryEntry","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":52,"name":"getOrCreateTemplateRegistryEntry","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets or creates a TemplateRegistryEntry for the provided address.","returns":"The located or created TemplateRegistryEntry.\n"},"parameters":[{"id":53,"name":"address","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The address of the template."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"TemplateRegistryEntry"},"inheritedFrom":{"type":"reference","name":"Loader.getOrCreateTemplateRegistryEntry"}}],"inheritedFrom":{"type":"reference","name":"Loader.getOrCreateTemplateRegistryEntry"}},{"id":19,"name":"loadAllModules","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":20,"name":"loadAllModules","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a collection of modules.","returns":"A Promise for an array of loaded modules.\n"},"parameters":[{"id":21,"name":"ids","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The set of module ids to load."},"type":{"type":"instrinct","isArray":true,"name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","isArray":true,"name":"any"}]},"overwrites":{"type":"reference","name":"Loader.loadAllModules"}}],"overwrites":{"type":"reference","name":"Loader.loadAllModules"}},{"id":40,"name":"loadModule","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":41,"name":"loadModule","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a module.","returns":"A Promise for the loaded module.\n"},"parameters":[{"id":42,"name":"id","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The module id to normalize."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"any"}]},"inheritedFrom":{"type":"reference","name":"Loader.loadModule"}}],"inheritedFrom":{"type":"reference","name":"Loader.loadModule"}},{"id":22,"name":"loadTemplate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":23,"name":"loadTemplate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a template.","returns":"A Promise for a TemplateRegistryEntry containing the template.\n"},"parameters":[{"id":24,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The url of the template to load."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"reference","name":"TemplateRegistryEntry"}]},"overwrites":{"type":"reference","name":"Loader.loadTemplate"}}],"overwrites":{"type":"reference","name":"Loader.loadTemplate"}},{"id":25,"name":"loadText","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":26,"name":"loadText","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a text-based resource.","returns":"A Promise for text content.\n"},"parameters":[{"id":27,"name":"url","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The url of the text file to load."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"string"}]},"overwrites":{"type":"reference","name":"Loader.loadText"}}],"overwrites":{"type":"reference","name":"Loader.loadText"}},{"id":28,"name":"map","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":29,"name":"map","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Maps a module id to a source."},"parameters":[{"id":30,"name":"id","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The module id."},"type":{"type":"instrinct","name":"string"}},{"id":31,"name":"source","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The source to map the module to.\n"},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"void"},"inheritedFrom":{"type":"reference","name":"Loader.map"}}],"inheritedFrom":{"type":"reference","name":"Loader.map"}},{"id":36,"name":"normalize","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":37,"name":"normalize","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Normalizes a module id.","returns":"A promise for the normalized module id.\n"},"parameters":[{"id":38,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The module id to normalize."},"type":{"type":"instrinct","name":"string"}},{"id":39,"name":"relativeTo","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"What the module id should be normalized relative to."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"string"}]},"inheritedFrom":{"type":"reference","name":"Loader.normalize"}}],"inheritedFrom":{"type":"reference","name":"Loader.normalize"}},{"id":32,"name":"normalizeSync","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":33,"name":"normalizeSync","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Normalizes a module id.","returns":"The normalized module id.\n"},"parameters":[{"id":34,"name":"moduleId","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The module id to normalize."},"type":{"type":"instrinct","name":"string"}},{"id":35,"name":"relativeTo","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"What the module id should be normalized relative to."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"instrinct","name":"string"},"inheritedFrom":{"type":"reference","name":"Loader.normalizeSync"}}],"inheritedFrom":{"type":"reference","name":"Loader.normalizeSync"}},{"id":16,"name":"useTemplateLoader","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17,"name":"useTemplateLoader","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Instructs the loader to use a specific TemplateLoader instance for loading templates"},"parameters":[{"id":18,"name":"templateLoader","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The instance of TemplateLoader to use for loading templates.\n"},"type":{"type":"reference","name":"TemplateLoader","id":2}}],"type":{"type":"instrinct","name":"void"}}]}],"groups":[{"title":"Constructors","kind":512,"children":[14]},{"title":"Properties","kind":1024,"children":[13]},{"title":"Methods","kind":2048,"children":[47,43,51,19,40,22,25,28,36,32,16]}],"extendedTypes":[{"type":"reference","name":"Loader"}]},{"id":7,"name":"TextTemplateLoader","kind":128,"kindString":"Class","flags":{"isExported":true},"comment":{"shortText":"An implementation of the TemplateLoader interface implemented with text-based loading."},"children":[{"id":8,"name":"loadTemplate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9,"name":"loadTemplate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a template.","returns":"A promise which resolves when the TemplateRegistryEntry is loaded with a template.\n"},"parameters":[{"id":10,"name":"loader","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The loader that is requesting the template load."},"type":{"type":"reference","name":"Loader"}},{"id":11,"name":"entry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The TemplateRegistryEntry to load and populate with a template."},"type":{"type":"reference","name":"TemplateRegistryEntry"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"any"}]}}]}],"groups":[{"title":"Methods","kind":2048,"children":[8]}]},{"id":2,"name":"TemplateLoader","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Represents a template loader."},"children":[{"id":3,"name":"loadTemplate","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":4,"name":"loadTemplate","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Loads a template.","returns":"A promise which resolves when the TemplateRegistryEntry is loaded with a template.\n"},"parameters":[{"id":5,"name":"loader","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The loader that is requesting the template load."},"type":{"type":"reference","name":"Loader"}},{"id":6,"name":"entry","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The TemplateRegistryEntry to load and populate with a template."},"type":{"type":"reference","name":"TemplateRegistryEntry"}}],"type":{"type":"reference","name":"Promise","typeArguments":[{"type":"instrinct","name":"any"}]}}]}],"groups":[{"title":"Methods","kind":2048,"children":[3]}]}],"groups":[{"title":"Classes","kind":128,"children":[12,7]},{"title":"Interfaces","kind":256,"children":[2]}]}