aurelia-pal
Advanced tools
Comparing version 1.1.1 to 1.2.0
{ | ||
"name": "aurelia-pal", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "Aurelia's platform abstraction layer (PAL).", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -50,3 +50,16 @@ define(['exports'], function (exports) { | ||
noop: function noop() {}, | ||
eachModule: function eachModule() {} | ||
eachModule: function eachModule() {}, | ||
moduleName: function (_moduleName) { | ||
function moduleName(_x) { | ||
return _moduleName.apply(this, arguments); | ||
} | ||
moduleName.toString = function () { | ||
return _moduleName.toString(); | ||
}; | ||
return moduleName; | ||
}(function (moduleName) { | ||
return moduleName; | ||
}) | ||
}; | ||
@@ -53,0 +66,0 @@ |
@@ -111,5 +111,42 @@ | ||
Loader: any; | ||
/** | ||
* Resolves a module name to a path resolvable by the loader. By default returns the first parameter. | ||
* It is recommended to use this for all dynamic imports as it enables static analysis | ||
* and optionally allows adding custom metadata used by the build step. | ||
* | ||
* References to this method should always literally call `PLATFORM.moduleName(...)`. | ||
* This enables the build step to statically optimize the code by replacing the reference with a string. | ||
* | ||
* @param moduleName Absolute or relative path to the module. | ||
* @param options Optional options used during the static analysis that inform how to process the module. | ||
*/ | ||
moduleName(moduleName: string, options?: ModuleNameOptions): string; | ||
} | ||
/** | ||
* Options used during the static analysis that inform how to process a given module. | ||
*/ | ||
/** | ||
* Options used during the static analysis that inform how to process a given module. | ||
*/ | ||
export declare interface ModuleNameOptions { | ||
/** | ||
* Use code-splitting by separating out the requested module into its own file | ||
*/ | ||
lazy?: boolean; | ||
/** | ||
* Add the module to a chunk by name | ||
*/ | ||
chunk?: string; | ||
/** | ||
* When provided, use a RegExp instead of the moduleName during static analysis | ||
*/ | ||
moduleRegex?: RegExp; | ||
} | ||
/** | ||
* Represents the core APIs of the DOM. | ||
@@ -116,0 +153,0 @@ */ |
@@ -137,3 +137,2 @@ | ||
removeEventListener(eventName: string, callback: Function, capture?: boolean): void; | ||
/** | ||
@@ -143,10 +142,43 @@ * Reference to the Loader Class (set after the loader has been first imported) | ||
Loader: any; | ||
/** | ||
* Resolves a module name to a path resolvable by the loader. By default returns the first parameter. | ||
* It is recommended to use this for all dynamic imports as it enables static analysis | ||
* and optionally allows adding custom metadata used by the build step. | ||
* | ||
* References to this method should always literally call `PLATFORM.moduleName(...)`. | ||
* This enables the build step to statically optimize the code by replacing the reference with a string. | ||
* | ||
* @param moduleName Absolute or relative path to the module. | ||
* @param options Optional options used during the static analysis that inform how to process the module. | ||
*/ | ||
moduleName(moduleName: string, options?: ModuleNameOptions): string; | ||
} | ||
/** | ||
* Options used during the static analysis that inform how to process a given module. | ||
*/ | ||
interface ModuleNameOptions { | ||
/** | ||
* Use code-splitting by separating out the requested module into its own file | ||
*/ | ||
lazy?: boolean; | ||
/** | ||
* Add the module to a chunk by name | ||
*/ | ||
chunk?: string; | ||
/** | ||
* When provided, use a RegExp instead of the moduleName during static analysis | ||
*/ | ||
moduleRegex?: RegExp; | ||
} | ||
/** | ||
* The singleton instance of the Platform API. | ||
*/ | ||
export const PLATFORM: Platform = { | ||
noop: function() {}, | ||
eachModule() {} | ||
noop() {}, | ||
eachModule() {}, | ||
moduleName(moduleName) { | ||
return moduleName; | ||
} | ||
}; | ||
@@ -153,0 +185,0 @@ |
@@ -49,3 +49,16 @@ 'use strict'; | ||
noop: function noop() {}, | ||
eachModule: function eachModule() {} | ||
eachModule: function eachModule() {}, | ||
moduleName: function (_moduleName) { | ||
function moduleName(_x) { | ||
return _moduleName.apply(this, arguments); | ||
} | ||
moduleName.toString = function () { | ||
return _moduleName.toString(); | ||
}; | ||
return moduleName; | ||
}(function (moduleName) { | ||
return moduleName; | ||
}) | ||
}; | ||
@@ -52,0 +65,0 @@ |
@@ -41,4 +41,7 @@ | ||
export const PLATFORM = { | ||
noop: function () {}, | ||
eachModule() {} | ||
noop() {}, | ||
eachModule() {}, | ||
moduleName(moduleName) { | ||
return moduleName; | ||
} | ||
}; | ||
@@ -45,0 +48,0 @@ |
@@ -42,3 +42,16 @@ | ||
noop: function noop() {}, | ||
eachModule: function eachModule() {} | ||
eachModule: function eachModule() {}, | ||
moduleName: function (_moduleName) { | ||
function moduleName(_x) { | ||
return _moduleName.apply(this, arguments); | ||
} | ||
moduleName.toString = function () { | ||
return _moduleName.toString(); | ||
}; | ||
return moduleName; | ||
}(function (moduleName) { | ||
return moduleName; | ||
}) | ||
}; | ||
@@ -45,0 +58,0 @@ |
@@ -82,3 +82,16 @@ 'use strict'; | ||
noop: function noop() {}, | ||
eachModule: function eachModule() {} | ||
eachModule: function eachModule() {}, | ||
moduleName: function (_moduleName) { | ||
function moduleName(_x) { | ||
return _moduleName.apply(this, arguments); | ||
} | ||
moduleName.toString = function () { | ||
return _moduleName.toString(); | ||
}; | ||
return moduleName; | ||
}(function (moduleName) { | ||
return moduleName; | ||
}) | ||
}); | ||
@@ -85,0 +98,0 @@ |
@@ -1,1 +0,1 @@ | ||
{"name":"aurelia-pal","children":[{"id":52,"name":"Dom","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Represents the core APIs of the DOM."},"children":[{"id":53,"name":"Element","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The global DOM Element type."},"sources":[{"fileName":"aurelia-pal.d.ts","line":121,"character":9}],"type":{"type":"reflection","declaration":{"id":54,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":56,"name":"constructor","kind":512,"kindString":"Constructor","flags":{},"signatures":[{"id":57,"name":"new __type","kind":16384,"kindString":"Constructor signature","flags":{},"type":{"type":"reference","name":"__type","id":54}}],"sources":[{"fileName":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/pal/node_modules/typedoc/node_modules/typescript/lib/lib.es6.d.ts","line":8398,"character":23}]},{"id":55,"name":"prototype","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/pal/node_modules/typedoc/node_modules/typescript/lib/lib.es6.d.ts","line":8398,"character":13}],"type":{"type":"reference","name":"Element"}}],"groups":[{"title":"Constructors","kind":512,"children":[56]},{"title":"Variables","kind":32,"children":[55]}],"sources":[{"fileName":"aurelia-pal.d.ts","line":121,"character":10}]}}},{"id":58,"name":"SVGElement","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The global DOM SVGElement type."},"sources":[{"fileName":"aurelia-pal.d.ts","line":126,"character":12}],"type":{"type":"reflection","declaration":{"id":59,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":61,"name":"constructor","kind":512,"kindString":"Constructor","flags":{},"signatures":[{"id":62,"name":"new __type","kind":16384,"kindString":"Constructor signature","flags":{},"type":{"type":"reference","name":"__type","id":59}}],"sources":[{"fileName":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/pal/node_modules/typedoc/node_modules/typescript/lib/lib.es6.d.ts","line":14132,"character":26}]},{"id":60,"name":"prototype","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/pal/node_modules/typedoc/node_modules/typescript/lib/lib.es6.d.ts","line":14132,"character":13}],"type":{"type":"reference","name":"SVGElement"}}],"groups":[{"title":"Constructors","kind":512,"children":[61]},{"title":"Variables","kind":32,"children":[60]}],"sources":[{"fileName":"aurelia-pal.d.ts","line":126,"character":13}]}}},{"id":65,"name":"activeElement","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The document's active/focused element."},"sources":[{"fileName":"aurelia-pal.d.ts","line":141,"character":15}],"type":{"type":"reference","name":"Element"}},{"id":63,"name":"boundary","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"A key representing a DOM boundary."},"sources":[{"fileName":"aurelia-pal.d.ts","line":131,"character":10}],"type":{"type":"instrinct","name":"string"}},{"id":64,"name":"title","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The document title."},"sources":[{"fileName":"aurelia-pal.d.ts","line":136,"character":7}],"type":{"type":"instrinct","name":"string"}},{"id":66,"name":"addEventListener","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":67,"name":"addEventListener","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Add an event listener to the document."},"parameters":[{"id":68,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string representing the event type to listen for."},"type":{"type":"instrinct","name":"string"}},{"id":69,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The function that receives a notification when an event of the specified type occurs."},"type":{"type":"reference","name":"Function"}},{"id":70,"name":"capture","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"If true, useCapture indicates that the user wishes to initiate capture.\n"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":149,"character":18}]},{"id":76,"name":"adoptNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":77,"name":"adoptNode","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adopts a node from an external document.","returns":"The adopted node able to be used in the document.\n"},"parameters":[{"id":78,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node to be adopted."},"type":{"type":"reference","name":"Node"}}],"type":{"type":"reference","name":"Node"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":164,"character":11}]},{"id":115,"name":"appendNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":116,"name":"appendNode","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Appends a node to the parent, if provided, or the document.body otherwise."},"parameters":[{"id":117,"name":"newNode","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node to append."},"type":{"type":"reference","name":"Node"}},{"id":118,"name":"parentNode","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The node to append to, otherwise the document.body.\n"},"type":{"type":"reference","name":"Node"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":254,"character":12}]},{"id":85,"name":"createComment","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":86,"name":"createComment","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a new Comment node.","returns":"A Comment node.\n"},"parameters":[{"id":87,"name":"text","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string to populate the new Comment node."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Comment"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":185,"character":15}]},{"id":93,"name":"createCustomEvent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":94,"name":"createCustomEvent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a new CustomEvent.","returns":"A CustomEvent.\n"},"parameters":[{"id":95,"name":"eventType","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string representing the event type."},"type":{"type":"instrinct","name":"string"}},{"id":96,"name":"options","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"An options object specifying bubbles:boolean, cancelable:boolean and/or detail:Object information."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"CustomEvent"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":206,"character":19}]},{"id":88,"name":"createDocumentFragment","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":89,"name":"createDocumentFragment","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a new DocumentFragment.","returns":"A DocumentFragment.\n"},"type":{"type":"reference","name":"DocumentFragment"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":191,"character":24}]},{"id":79,"name":"createElement","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":80,"name":"createElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates the specified HTML element or an HTMLUnknownElement if the given element name isn't a known one.","returns":"The created element.\n"},"parameters":[{"id":81,"name":"tagName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string that specifies the type of element to be created."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Element"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":171,"character":15}]},{"id":90,"name":"createMutationObserver","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":91,"name":"createMutationObserver","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a new MutationObserver.","returns":"A MutationObservere.\n"},"parameters":[{"id":92,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A callback that will recieve the change records with the mutations."},"type":{"type":"reference","name":"Function"}}],"type":{"type":"reference","name":"MutationObserver"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":198,"character":24}]},{"id":112,"name":"createTemplateFromMarkup","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":113,"name":"createTemplateFromMarkup","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an HTMLTemplateElement using the markup provided.","returns":"The instance of HTMLTemplateElement that was created from the provided markup.\n"},"parameters":[{"id":114,"name":"markup","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string containing the markup to turn into a template. Note: This string must contain the template element as well."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Element"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":247,"character":26}]},{"id":82,"name":"createTextNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":83,"name":"createTextNode","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a new Text node.","returns":"A Text node.\n"},"parameters":[{"id":84,"name":"text","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string to populate the new Text node."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Text"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":178,"character":16}]},{"id":97,"name":"dispatchEvent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":98,"name":"dispatchEvent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Dispatches an event on the document."},"parameters":[{"id":99,"name":"evt","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The event to dispatch.\n"},"type":{"type":"reference","name":"Event"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":212,"character":15}]},{"id":100,"name":"getComputedStyle","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":101,"name":"getComputedStyle","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gives the values of all the CSS properties of an element after applying the active stylesheets and resolving any basic computation those values may contain.","returns":"The computed styles.\n"},"parameters":[{"id":102,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The Element for which to get the computed style."},"type":{"type":"reference","name":"Element"}}],"type":{"type":"reference","name":"CSSStyleDeclaration"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":219,"character":18}]},{"id":103,"name":"getElementById","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":104,"name":"getElementById","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Locates an element in the document according to its id.","returns":"The found element.\n"},"parameters":[{"id":105,"name":"id","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id to search the document for."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Element"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":226,"character":16}]},{"id":128,"name":"injectStyles","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":129,"name":"injectStyles","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Injects styles into the destination element, or the document.head if no destination is provided.","returns":"The Style node that was created.\n"},"parameters":[{"id":130,"name":"styles","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The css text to injext."},"type":{"type":"instrinct","name":"string"}},{"id":131,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The destination element to inject the css text into. If not specified it will default to the document.head."},"type":{"type":"reference","name":"Element"}},{"id":132,"name":"prepend","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Indicates whether or not the styles should be prepended to the destination. By default they are appended."},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"reference","name":"Node"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":278,"character":14}]},{"id":109,"name":"nextElementSibling","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":110,"name":"nextElementSibling","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the element that is the next sibling of the provided element.","returns":"The next sibling Element of the provided Element.\n"},"parameters":[{"id":111,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element whose next sibling is being located."},"type":{"type":"reference","name":"Node"}}],"type":{"type":"reference","name":"Element"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":240,"character":20}]},{"id":106,"name":"querySelectorAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":107,"name":"querySelectorAll","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Performs a query selector on the document and returns all located matches.","returns":"A list of all matched elements in the document.\n"},"parameters":[{"id":108,"name":"query","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The query to use in searching the document."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"NodeList"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":233,"character":18}]},{"id":71,"name":"removeEventListener","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":72,"name":"removeEventListener","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Remove an event listener from the document."},"parameters":[{"id":73,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string representing the event type to listen for."},"type":{"type":"instrinct","name":"string"}},{"id":74,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The function to remove from the event."},"type":{"type":"reference","name":"Function"}},{"id":75,"name":"capture","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Specifies whether the listener to be removed was registered as a capturing listener or not.\n"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":157,"character":21}]},{"id":124,"name":"removeNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":125,"name":"removeNode","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes the specified node from the parent node."},"parameters":[{"id":126,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node to remove."},"type":{"type":"reference","name":"Node"}},{"id":127,"name":"parentNode","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The parent node from which the node will be removed.\n"},"type":{"type":"reference","name":"Node"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":269,"character":12}]},{"id":119,"name":"replaceNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":120,"name":"replaceNode","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Replaces a node in the parent with a new node."},"parameters":[{"id":121,"name":"newNode","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node to replace the old node with."},"type":{"type":"reference","name":"Node"}},{"id":122,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node that is being replaced."},"type":{"type":"reference","name":"Node"}},{"id":123,"name":"parentNode","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The node that the current node is parented to.\n"},"type":{"type":"reference","name":"Node"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":262,"character":13}]}],"groups":[{"title":"Properties","kind":1024,"children":[53,58,65,63,64]},{"title":"Methods","kind":2048,"children":[66,76,115,85,93,88,79,90,112,82,97,100,103,128,109,106,71,124,119]}],"sources":[{"fileName":"aurelia-pal.d.ts","line":116,"character":28}]},{"id":2,"name":"Feature","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Enables discovery of what features the runtime environment supports."},"children":[{"id":5,"name":"htmlTemplateElement","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Does the runtime environment support native HTMLTemplateElement?"},"sources":[{"fileName":"aurelia-pal.d.ts","line":20,"character":21}],"type":{"type":"instrinct","name":"boolean"}},{"id":6,"name":"mutationObserver","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Does the runtime environment support native DOM mutation observers?"},"sources":[{"fileName":"aurelia-pal.d.ts","line":25,"character":18}],"type":{"type":"instrinct","name":"boolean"}},{"id":4,"name":"scopedCSS","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Does the runtime environment support the css scoped attribute?"},"sources":[{"fileName":"aurelia-pal.d.ts","line":15,"character":11}],"type":{"type":"instrinct","name":"boolean"}},{"id":3,"name":"shadowDOM","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Does the runtime environment support ShadowDOM?"},"sources":[{"fileName":"aurelia-pal.d.ts","line":10,"character":11}],"type":{"type":"instrinct","name":"boolean"}}],"groups":[{"title":"Properties","kind":1024,"children":[5,6,4,3]}],"sources":[{"fileName":"aurelia-pal.d.ts","line":5,"character":32}]},{"id":7,"name":"Performance","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"The runtime's performance API."},"children":[{"id":8,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9,"name":"now","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a DOMHighResTimeStamp.","returns":"The timestamp, measured in milliseconds, accurate to one thousandth of a millisecond.\n"},"type":{"type":"instrinct","name":"number"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":37,"character":5}]}],"groups":[{"title":"Methods","kind":2048,"children":[8]}],"sources":[{"fileName":"aurelia-pal.d.ts","line":31,"character":36}]},{"id":10,"name":"Platform","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Represents the core APIs of the runtime environment."},"children":[{"id":51,"name":"Loader","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Reference to the Loader Class (set after the loader has been first imported)"},"sources":[{"fileName":"aurelia-pal.d.ts","line":110,"character":8}],"type":{"type":"instrinct","name":"any"}},{"id":22,"name":"XMLHttpRequest","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The runtime's XMLHttpRequest API."},"sources":[{"fileName":"aurelia-pal.d.ts","line":83,"character":16}],"type":{"type":"reflection","declaration":{"id":23,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":25,"name":"constructor","kind":512,"kindString":"Constructor","flags":{},"signatures":[{"id":26,"name":"new __type","kind":16384,"kindString":"Constructor signature","flags":{},"type":{"type":"reference","name":"__type","id":23}}],"sources":[{"fileName":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/pal/node_modules/typedoc/node_modules/typescript/lib/lib.es6.d.ts","line":17532,"character":30}]},{"id":27,"name":"DONE","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/pal/node_modules/typedoc/node_modules/typescript/lib/lib.es6.d.ts","line":17534,"character":8}],"type":{"type":"instrinct","name":"number"}},{"id":28,"name":"HEADERS_RECEIVED","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/pal/node_modules/typedoc/node_modules/typescript/lib/lib.es6.d.ts","line":17535,"character":20}],"type":{"type":"instrinct","name":"number"}},{"id":29,"name":"LOADING","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/pal/node_modules/typedoc/node_modules/typescript/lib/lib.es6.d.ts","line":17536,"character":11}],"type":{"type":"instrinct","name":"number"}},{"id":30,"name":"OPENED","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/pal/node_modules/typedoc/node_modules/typescript/lib/lib.es6.d.ts","line":17537,"character":10}],"type":{"type":"instrinct","name":"number"}},{"id":31,"name":"UNSENT","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/pal/node_modules/typedoc/node_modules/typescript/lib/lib.es6.d.ts","line":17538,"character":10}],"type":{"type":"instrinct","name":"number"}},{"id":24,"name":"prototype","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/pal/node_modules/typedoc/node_modules/typescript/lib/lib.es6.d.ts","line":17532,"character":13}],"type":{"type":"reference","name":"XMLHttpRequest"}},{"id":32,"name":"create","kind":64,"kindString":"Function","flags":{},"signatures":[{"id":33,"name":"create","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"XMLHttpRequest"}}],"sources":[{"fileName":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/pal/node_modules/typedoc/node_modules/typescript/lib/lib.es6.d.ts","line":17539,"character":10}]}],"groups":[{"title":"Constructors","kind":512,"children":[25]},{"title":"Variables","kind":32,"children":[27,28,29,30,31,24]},{"title":"Functions","kind":64,"children":[32]}],"sources":[{"fileName":"aurelia-pal.d.ts","line":83,"character":17}]}}},{"id":11,"name":"global","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The runtime environment's global."},"sources":[{"fileName":"aurelia-pal.d.ts","line":51,"character":8}],"type":{"type":"instrinct","name":"any"}},{"id":14,"name":"history","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The runtime's history API."},"sources":[{"fileName":"aurelia-pal.d.ts","line":66,"character":9}],"type":{"type":"reference","name":"History"}},{"id":13,"name":"location","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The runtime's location API."},"sources":[{"fileName":"aurelia-pal.d.ts","line":61,"character":10}],"type":{"type":"reference","name":"Location"}},{"id":12,"name":"noop","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"A function wich does nothing."},"sources":[{"fileName":"aurelia-pal.d.ts","line":56,"character":6}],"type":{"type":"reference","name":"Function"}},{"id":15,"name":"performance","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The runtime's performance API"},"sources":[{"fileName":"aurelia-pal.d.ts","line":71,"character":13}],"type":{"type":"reference","name":"Performance","id":7}},{"id":41,"name":"addEventListener","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":42,"name":"addEventListener","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Add a global event listener."},"parameters":[{"id":43,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string representing the event type to listen for."},"type":{"type":"instrinct","name":"string"}},{"id":44,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The function that receives a notification when an event of the specified type occurs."},"type":{"type":"reference","name":"Function"}},{"id":45,"name":"capture","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"If true, useCapture indicates that the user wishes to initiate capture.\n"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":97,"character":18}]},{"id":34,"name":"eachModule","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":35,"name":"eachModule","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Iterate all modules loaded by the script loader."},"parameters":[{"id":36,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A callback that will receive each module id along with the module object. Return true to end enumeration.\n"},"type":{"type":"reflection","declaration":{"id":37,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":38,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":39,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}},{"id":40,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"boolean"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":89,"character":22}]}}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":89,"character":12}]},{"id":46,"name":"removeEventListener","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":47,"name":"removeEventListener","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Remove a global event listener."},"parameters":[{"id":48,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string representing the event type to listen for."},"type":{"type":"instrinct","name":"string"}},{"id":49,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The function to remove from the event."},"type":{"type":"reference","name":"Function"}},{"id":50,"name":"capture","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Specifies whether the listener to be removed was registered as a capturing listener or not.\n"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":105,"character":21}]},{"id":16,"name":"requestAnimationFrame","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17,"name":"requestAnimationFrame","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a function to call when the system is ready to update (repaint) the display.","returns":"A long integer value, the request id, that uniquely identifies the entry in the callback list.\n"},"parameters":[{"id":18,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The function to call."},"type":{"type":"reflection","declaration":{"id":19,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":20,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":21,"name":"animationFrameStart","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"number"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":78,"character":33}]}}}],"type":{"type":"instrinct","name":"number"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":78,"character":23}]}],"groups":[{"title":"Properties","kind":1024,"children":[51,22,11,14,13,12,15]},{"title":"Methods","kind":2048,"children":[41,34,46,16]}],"sources":[{"fileName":"aurelia-pal.d.ts","line":46,"character":33}]},{"id":140,"name":"DOM","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"The singleton instance of the Dom API."},"sources":[{"fileName":"aurelia-pal.d.ts","line":312,"character":24}],"type":{"type":"reference","name":"Dom","id":52}},{"id":138,"name":"FEATURE","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"The singleton instance of the Feature discovery API."},"sources":[{"fileName":"aurelia-pal.d.ts","line":296,"character":28}],"type":{"type":"reference","name":"Feature","id":2}},{"id":139,"name":"PLATFORM","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"The singleton instance of the Platform API."},"sources":[{"fileName":"aurelia-pal.d.ts","line":304,"character":29}],"type":{"type":"reference","name":"Platform","id":10}},{"id":141,"name":"isInitialized","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"aurelia-pal.d.ts","line":313,"character":32}],"type":{"type":"instrinct","name":"any"}},{"id":133,"name":"AggregateError","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":134,"name":"AggregateError","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instance of Error that aggregates and preserves an innerError.","returns":"The Error instance.\n"},"parameters":[{"id":135,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The error message."},"type":{"type":"instrinct","name":"string"}},{"id":136,"name":"innerError","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The inner error message to aggregate."},"type":{"type":"reference","name":"Error"}},{"id":137,"name":"skipIfAlreadyAggregate","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Indicates to not wrap the inner error if it itself already has an innerError."},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"reference","name":"Error"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":288,"character":38}]},{"id":142,"name":"initializePAL","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":143,"name":"initializePAL","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enables initializing a specific implementation of the Platform Abstraction Layer (PAL)."},"parameters":[{"id":144,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Allows providing a callback which configures the three PAL singletons with their platform-specific implementations.\n"},"type":{"type":"reflection","declaration":{"id":145,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":146,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":147,"name":"platform","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Platform","id":10}},{"id":148,"name":"feature","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Feature","id":2}},{"id":149,"name":"dom","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Dom","id":52}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":319,"character":47}]}}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":319,"character":37}]},{"id":150,"name":"reset","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":151,"name":"reset","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":320,"character":29}]}],"groups":[{"title":"Interfaces","kind":256,"children":[52,2,7,10]},{"title":"Variables","kind":32,"children":[140,138,139,141]},{"title":"Functions","kind":64,"children":[133,142,150]}]} | ||
{"name":"aurelia-pal","children":[{"id":60,"name":"Dom","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Represents the core APIs of the DOM."},"children":[{"id":61,"name":"Element","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The global DOM Element type."},"sources":[{"fileName":"aurelia-pal.d.ts","line":158,"character":9}],"type":{"type":"reflection","declaration":{"id":62,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":64,"name":"constructor","kind":512,"kindString":"Constructor","flags":{},"signatures":[{"id":65,"name":"new __type","kind":16384,"kindString":"Constructor signature","flags":{},"type":{"type":"reference","name":"__type","id":62}}],"sources":[{"fileName":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/pal/node_modules/typedoc/node_modules/typescript/lib/lib.es6.d.ts","line":8398,"character":23}]},{"id":63,"name":"prototype","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/pal/node_modules/typedoc/node_modules/typescript/lib/lib.es6.d.ts","line":8398,"character":13}],"type":{"type":"reference","name":"Element"}}],"groups":[{"title":"Constructors","kind":512,"children":[64]},{"title":"Variables","kind":32,"children":[63]}],"sources":[{"fileName":"aurelia-pal.d.ts","line":158,"character":10}]}}},{"id":66,"name":"SVGElement","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The global DOM SVGElement type."},"sources":[{"fileName":"aurelia-pal.d.ts","line":163,"character":12}],"type":{"type":"reflection","declaration":{"id":67,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":69,"name":"constructor","kind":512,"kindString":"Constructor","flags":{},"signatures":[{"id":70,"name":"new __type","kind":16384,"kindString":"Constructor signature","flags":{},"type":{"type":"reference","name":"__type","id":67}}],"sources":[{"fileName":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/pal/node_modules/typedoc/node_modules/typescript/lib/lib.es6.d.ts","line":14132,"character":26}]},{"id":68,"name":"prototype","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/pal/node_modules/typedoc/node_modules/typescript/lib/lib.es6.d.ts","line":14132,"character":13}],"type":{"type":"reference","name":"SVGElement"}}],"groups":[{"title":"Constructors","kind":512,"children":[69]},{"title":"Variables","kind":32,"children":[68]}],"sources":[{"fileName":"aurelia-pal.d.ts","line":163,"character":13}]}}},{"id":73,"name":"activeElement","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The document's active/focused element."},"sources":[{"fileName":"aurelia-pal.d.ts","line":178,"character":15}],"type":{"type":"reference","name":"Element"}},{"id":71,"name":"boundary","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"A key representing a DOM boundary."},"sources":[{"fileName":"aurelia-pal.d.ts","line":168,"character":10}],"type":{"type":"instrinct","name":"string"}},{"id":72,"name":"title","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The document title."},"sources":[{"fileName":"aurelia-pal.d.ts","line":173,"character":7}],"type":{"type":"instrinct","name":"string"}},{"id":74,"name":"addEventListener","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":75,"name":"addEventListener","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Add an event listener to the document."},"parameters":[{"id":76,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string representing the event type to listen for."},"type":{"type":"instrinct","name":"string"}},{"id":77,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The function that receives a notification when an event of the specified type occurs."},"type":{"type":"reference","name":"Function"}},{"id":78,"name":"capture","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"If true, useCapture indicates that the user wishes to initiate capture.\n"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":186,"character":18}]},{"id":84,"name":"adoptNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":85,"name":"adoptNode","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Adopts a node from an external document.","returns":"The adopted node able to be used in the document.\n"},"parameters":[{"id":86,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node to be adopted."},"type":{"type":"reference","name":"Node"}}],"type":{"type":"reference","name":"Node"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":201,"character":11}]},{"id":123,"name":"appendNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":124,"name":"appendNode","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Appends a node to the parent, if provided, or the document.body otherwise."},"parameters":[{"id":125,"name":"newNode","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node to append."},"type":{"type":"reference","name":"Node"}},{"id":126,"name":"parentNode","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The node to append to, otherwise the document.body.\n"},"type":{"type":"reference","name":"Node"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":291,"character":12}]},{"id":93,"name":"createComment","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":94,"name":"createComment","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a new Comment node.","returns":"A Comment node.\n"},"parameters":[{"id":95,"name":"text","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string to populate the new Comment node."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Comment"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":222,"character":15}]},{"id":101,"name":"createCustomEvent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":102,"name":"createCustomEvent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a new CustomEvent.","returns":"A CustomEvent.\n"},"parameters":[{"id":103,"name":"eventType","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string representing the event type."},"type":{"type":"instrinct","name":"string"}},{"id":104,"name":"options","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"An options object specifying bubbles:boolean, cancelable:boolean and/or detail:Object information."},"type":{"type":"reference","name":"Object"}}],"type":{"type":"reference","name":"CustomEvent"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":243,"character":19}]},{"id":96,"name":"createDocumentFragment","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":97,"name":"createDocumentFragment","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a new DocumentFragment.","returns":"A DocumentFragment.\n"},"type":{"type":"reference","name":"DocumentFragment"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":228,"character":24}]},{"id":87,"name":"createElement","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":88,"name":"createElement","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates the specified HTML element or an HTMLUnknownElement if the given element name isn't a known one.","returns":"The created element.\n"},"parameters":[{"id":89,"name":"tagName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string that specifies the type of element to be created."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Element"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":208,"character":15}]},{"id":98,"name":"createMutationObserver","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":99,"name":"createMutationObserver","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a new MutationObserver.","returns":"A MutationObservere.\n"},"parameters":[{"id":100,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A callback that will recieve the change records with the mutations."},"type":{"type":"reference","name":"Function"}}],"type":{"type":"reference","name":"MutationObserver"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":235,"character":24}]},{"id":120,"name":"createTemplateFromMarkup","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":121,"name":"createTemplateFromMarkup","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an HTMLTemplateElement using the markup provided.","returns":"The instance of HTMLTemplateElement that was created from the provided markup.\n"},"parameters":[{"id":122,"name":"markup","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string containing the markup to turn into a template. Note: This string must contain the template element as well."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Element"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":284,"character":26}]},{"id":90,"name":"createTextNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":91,"name":"createTextNode","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a new Text node.","returns":"A Text node.\n"},"parameters":[{"id":92,"name":"text","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string to populate the new Text node."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Text"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":215,"character":16}]},{"id":105,"name":"dispatchEvent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":106,"name":"dispatchEvent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Dispatches an event on the document."},"parameters":[{"id":107,"name":"evt","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The event to dispatch.\n"},"type":{"type":"reference","name":"Event"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":249,"character":15}]},{"id":108,"name":"getComputedStyle","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":109,"name":"getComputedStyle","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gives the values of all the CSS properties of an element after applying the active stylesheets and resolving any basic computation those values may contain.","returns":"The computed styles.\n"},"parameters":[{"id":110,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The Element for which to get the computed style."},"type":{"type":"reference","name":"Element"}}],"type":{"type":"reference","name":"CSSStyleDeclaration"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":256,"character":18}]},{"id":111,"name":"getElementById","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":112,"name":"getElementById","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Locates an element in the document according to its id.","returns":"The found element.\n"},"parameters":[{"id":113,"name":"id","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The id to search the document for."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"Element"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":263,"character":16}]},{"id":136,"name":"injectStyles","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":137,"name":"injectStyles","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Injects styles into the destination element, or the document.head if no destination is provided.","returns":"The Style node that was created.\n"},"parameters":[{"id":138,"name":"styles","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The css text to injext."},"type":{"type":"instrinct","name":"string"}},{"id":139,"name":"destination","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The destination element to inject the css text into. If not specified it will default to the document.head."},"type":{"type":"reference","name":"Element"}},{"id":140,"name":"prepend","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Indicates whether or not the styles should be prepended to the destination. By default they are appended."},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"reference","name":"Node"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":315,"character":14}]},{"id":117,"name":"nextElementSibling","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":118,"name":"nextElementSibling","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets the element that is the next sibling of the provided element.","returns":"The next sibling Element of the provided Element.\n"},"parameters":[{"id":119,"name":"element","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The element whose next sibling is being located."},"type":{"type":"reference","name":"Node"}}],"type":{"type":"reference","name":"Element"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":277,"character":20}]},{"id":114,"name":"querySelectorAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":115,"name":"querySelectorAll","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Performs a query selector on the document and returns all located matches.","returns":"A list of all matched elements in the document.\n"},"parameters":[{"id":116,"name":"query","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The query to use in searching the document."},"type":{"type":"instrinct","name":"string"}}],"type":{"type":"reference","name":"NodeList"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":270,"character":18}]},{"id":79,"name":"removeEventListener","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":80,"name":"removeEventListener","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Remove an event listener from the document."},"parameters":[{"id":81,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string representing the event type to listen for."},"type":{"type":"instrinct","name":"string"}},{"id":82,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The function to remove from the event."},"type":{"type":"reference","name":"Function"}},{"id":83,"name":"capture","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Specifies whether the listener to be removed was registered as a capturing listener or not.\n"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":194,"character":21}]},{"id":132,"name":"removeNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":133,"name":"removeNode","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes the specified node from the parent node."},"parameters":[{"id":134,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node to remove."},"type":{"type":"reference","name":"Node"}},{"id":135,"name":"parentNode","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The parent node from which the node will be removed.\n"},"type":{"type":"reference","name":"Node"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":306,"character":12}]},{"id":127,"name":"replaceNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":128,"name":"replaceNode","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Replaces a node in the parent with a new node."},"parameters":[{"id":129,"name":"newNode","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node to replace the old node with."},"type":{"type":"reference","name":"Node"}},{"id":130,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node that is being replaced."},"type":{"type":"reference","name":"Node"}},{"id":131,"name":"parentNode","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The node that the current node is parented to.\n"},"type":{"type":"reference","name":"Node"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":299,"character":13}]}],"groups":[{"title":"Properties","kind":1024,"children":[61,66,73,71,72]},{"title":"Methods","kind":2048,"children":[74,84,123,93,101,96,87,98,120,90,105,108,111,136,117,114,79,132,127]}],"sources":[{"fileName":"aurelia-pal.d.ts","line":153,"character":28}]},{"id":2,"name":"Feature","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Enables discovery of what features the runtime environment supports."},"children":[{"id":5,"name":"htmlTemplateElement","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Does the runtime environment support native HTMLTemplateElement?"},"sources":[{"fileName":"aurelia-pal.d.ts","line":20,"character":21}],"type":{"type":"instrinct","name":"boolean"}},{"id":6,"name":"mutationObserver","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Does the runtime environment support native DOM mutation observers?"},"sources":[{"fileName":"aurelia-pal.d.ts","line":25,"character":18}],"type":{"type":"instrinct","name":"boolean"}},{"id":4,"name":"scopedCSS","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Does the runtime environment support the css scoped attribute?"},"sources":[{"fileName":"aurelia-pal.d.ts","line":15,"character":11}],"type":{"type":"instrinct","name":"boolean"}},{"id":3,"name":"shadowDOM","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Does the runtime environment support ShadowDOM?"},"sources":[{"fileName":"aurelia-pal.d.ts","line":10,"character":11}],"type":{"type":"instrinct","name":"boolean"}}],"groups":[{"title":"Properties","kind":1024,"children":[5,6,4,3]}],"sources":[{"fileName":"aurelia-pal.d.ts","line":5,"character":32}]},{"id":56,"name":"ModuleNameOptions","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Options used during the static analysis that inform how to process a given module."},"children":[{"id":58,"name":"chunk","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Add the module to a chunk by name"},"sources":[{"fileName":"aurelia-pal.d.ts","line":142,"character":7}],"type":{"type":"instrinct","name":"string"}},{"id":57,"name":"lazy","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"Use code-splitting by separating out the requested module into its own file"},"sources":[{"fileName":"aurelia-pal.d.ts","line":137,"character":6}],"type":{"type":"instrinct","name":"boolean"}},{"id":59,"name":"moduleRegex","kind":1024,"kindString":"Property","flags":{"isExported":true,"isOptional":true},"comment":{"shortText":"When provided, use a RegExp instead of the moduleName during static analysis"},"sources":[{"fileName":"aurelia-pal.d.ts","line":147,"character":13}],"type":{"type":"reference","name":"RegExp"}}],"groups":[{"title":"Properties","kind":1024,"children":[58,57,59]}],"sources":[{"fileName":"aurelia-pal.d.ts","line":132,"character":42}]},{"id":7,"name":"Performance","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"The runtime's performance API."},"children":[{"id":8,"name":"now","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":9,"name":"now","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Gets a DOMHighResTimeStamp.","returns":"The timestamp, measured in milliseconds, accurate to one thousandth of a millisecond.\n"},"type":{"type":"instrinct","name":"number"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":37,"character":5}]}],"groups":[{"title":"Methods","kind":2048,"children":[8]}],"sources":[{"fileName":"aurelia-pal.d.ts","line":31,"character":36}]},{"id":10,"name":"Platform","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Represents the core APIs of the runtime environment."},"children":[{"id":51,"name":"Loader","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Reference to the Loader Class (set after the loader has been first imported)"},"sources":[{"fileName":"aurelia-pal.d.ts","line":110,"character":8}],"type":{"type":"instrinct","name":"any"}},{"id":22,"name":"XMLHttpRequest","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The runtime's XMLHttpRequest API."},"sources":[{"fileName":"aurelia-pal.d.ts","line":83,"character":16}],"type":{"type":"reflection","declaration":{"id":23,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":25,"name":"constructor","kind":512,"kindString":"Constructor","flags":{},"signatures":[{"id":26,"name":"new __type","kind":16384,"kindString":"Constructor signature","flags":{},"type":{"type":"reference","name":"__type","id":23}}],"sources":[{"fileName":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/pal/node_modules/typedoc/node_modules/typescript/lib/lib.es6.d.ts","line":17532,"character":30}]},{"id":27,"name":"DONE","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/pal/node_modules/typedoc/node_modules/typescript/lib/lib.es6.d.ts","line":17534,"character":8}],"type":{"type":"instrinct","name":"number"}},{"id":28,"name":"HEADERS_RECEIVED","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/pal/node_modules/typedoc/node_modules/typescript/lib/lib.es6.d.ts","line":17535,"character":20}],"type":{"type":"instrinct","name":"number"}},{"id":29,"name":"LOADING","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/pal/node_modules/typedoc/node_modules/typescript/lib/lib.es6.d.ts","line":17536,"character":11}],"type":{"type":"instrinct","name":"number"}},{"id":30,"name":"OPENED","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/pal/node_modules/typedoc/node_modules/typescript/lib/lib.es6.d.ts","line":17537,"character":10}],"type":{"type":"instrinct","name":"number"}},{"id":31,"name":"UNSENT","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/pal/node_modules/typedoc/node_modules/typescript/lib/lib.es6.d.ts","line":17538,"character":10}],"type":{"type":"instrinct","name":"number"}},{"id":24,"name":"prototype","kind":32,"kindString":"Variable","flags":{},"sources":[{"fileName":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/pal/node_modules/typedoc/node_modules/typescript/lib/lib.es6.d.ts","line":17532,"character":13}],"type":{"type":"reference","name":"XMLHttpRequest"}},{"id":32,"name":"create","kind":64,"kindString":"Function","flags":{},"signatures":[{"id":33,"name":"create","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"reference","name":"XMLHttpRequest"}}],"sources":[{"fileName":"/Users/EisenbergEffect/Documents/GitHub/The Durandal Project/aurelia/pal/node_modules/typedoc/node_modules/typescript/lib/lib.es6.d.ts","line":17539,"character":10}]}],"groups":[{"title":"Constructors","kind":512,"children":[25]},{"title":"Variables","kind":32,"children":[27,28,29,30,31,24]},{"title":"Functions","kind":64,"children":[32]}],"sources":[{"fileName":"aurelia-pal.d.ts","line":83,"character":17}]}}},{"id":11,"name":"global","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The runtime environment's global."},"sources":[{"fileName":"aurelia-pal.d.ts","line":51,"character":8}],"type":{"type":"instrinct","name":"any"}},{"id":14,"name":"history","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The runtime's history API."},"sources":[{"fileName":"aurelia-pal.d.ts","line":66,"character":9}],"type":{"type":"reference","name":"History"}},{"id":13,"name":"location","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The runtime's location API."},"sources":[{"fileName":"aurelia-pal.d.ts","line":61,"character":10}],"type":{"type":"reference","name":"Location"}},{"id":12,"name":"noop","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"A function wich does nothing."},"sources":[{"fileName":"aurelia-pal.d.ts","line":56,"character":6}],"type":{"type":"reference","name":"Function"}},{"id":15,"name":"performance","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The runtime's performance API"},"sources":[{"fileName":"aurelia-pal.d.ts","line":71,"character":13}],"type":{"type":"reference","name":"Performance","id":7}},{"id":41,"name":"addEventListener","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":42,"name":"addEventListener","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Add a global event listener."},"parameters":[{"id":43,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string representing the event type to listen for."},"type":{"type":"instrinct","name":"string"}},{"id":44,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The function that receives a notification when an event of the specified type occurs."},"type":{"type":"reference","name":"Function"}},{"id":45,"name":"capture","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"If true, useCapture indicates that the user wishes to initiate capture.\n"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":97,"character":18}]},{"id":34,"name":"eachModule","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":35,"name":"eachModule","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Iterate all modules loaded by the script loader."},"parameters":[{"id":36,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A callback that will receive each module id along with the module object. Return true to end enumeration.\n"},"type":{"type":"reflection","declaration":{"id":37,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":38,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":39,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}},{"id":40,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"boolean"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":89,"character":22}]}}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":89,"character":12}]},{"id":52,"name":"moduleName","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":53,"name":"moduleName","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Resolves a module name to a path resolvable by the loader. By default returns the first parameter.\nIt is recommended to use this for all dynamic imports as it enables static analysis\nand optionally allows adding custom metadata used by the build step.","text":"References to this method should always literally call `PLATFORM.moduleName(...)`.\nThis enables the build step to statically optimize the code by replacing the reference with a string.\n"},"parameters":[{"id":54,"name":"moduleName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Absolute or relative path to the module."},"type":{"type":"instrinct","name":"string"}},{"id":55,"name":"options","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Optional options used during the static analysis that inform how to process the module.\n"},"type":{"type":"reference","name":"ModuleNameOptions","id":56}}],"type":{"type":"instrinct","name":"string"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":123,"character":12}]},{"id":46,"name":"removeEventListener","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":47,"name":"removeEventListener","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Remove a global event listener."},"parameters":[{"id":48,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string representing the event type to listen for."},"type":{"type":"instrinct","name":"string"}},{"id":49,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The function to remove from the event."},"type":{"type":"reference","name":"Function"}},{"id":50,"name":"capture","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Specifies whether the listener to be removed was registered as a capturing listener or not.\n"},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":105,"character":21}]},{"id":16,"name":"requestAnimationFrame","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":17,"name":"requestAnimationFrame","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Registers a function to call when the system is ready to update (repaint) the display.","returns":"A long integer value, the request id, that uniquely identifies the entry in the callback list.\n"},"parameters":[{"id":18,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The function to call."},"type":{"type":"reflection","declaration":{"id":19,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":20,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":21,"name":"animationFrameStart","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"number"}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":78,"character":33}]}}}],"type":{"type":"instrinct","name":"number"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":78,"character":23}]}],"groups":[{"title":"Properties","kind":1024,"children":[51,22,11,14,13,12,15]},{"title":"Methods","kind":2048,"children":[41,34,52,46,16]}],"sources":[{"fileName":"aurelia-pal.d.ts","line":46,"character":33}]},{"id":148,"name":"DOM","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"The singleton instance of the Dom API."},"sources":[{"fileName":"aurelia-pal.d.ts","line":349,"character":24}],"type":{"type":"reference","name":"Dom","id":60}},{"id":146,"name":"FEATURE","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"The singleton instance of the Feature discovery API."},"sources":[{"fileName":"aurelia-pal.d.ts","line":333,"character":28}],"type":{"type":"reference","name":"Feature","id":2}},{"id":147,"name":"PLATFORM","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"The singleton instance of the Platform API."},"sources":[{"fileName":"aurelia-pal.d.ts","line":341,"character":29}],"type":{"type":"reference","name":"Platform","id":10}},{"id":149,"name":"isInitialized","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"aurelia-pal.d.ts","line":350,"character":32}],"type":{"type":"instrinct","name":"any"}},{"id":141,"name":"AggregateError","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":142,"name":"AggregateError","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates an instance of Error that aggregates and preserves an innerError.","returns":"The Error instance.\n"},"parameters":[{"id":143,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The error message."},"type":{"type":"instrinct","name":"string"}},{"id":144,"name":"innerError","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The inner error message to aggregate."},"type":{"type":"reference","name":"Error"}},{"id":145,"name":"skipIfAlreadyAggregate","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"Indicates to not wrap the inner error if it itself already has an innerError."},"type":{"type":"instrinct","name":"boolean"}}],"type":{"type":"reference","name":"Error"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":325,"character":38}]},{"id":150,"name":"initializePAL","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":151,"name":"initializePAL","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enables initializing a specific implementation of the Platform Abstraction Layer (PAL)."},"parameters":[{"id":152,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"Allows providing a callback which configures the three PAL singletons with their platform-specific implementations.\n"},"type":{"type":"reflection","declaration":{"id":153,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":154,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":155,"name":"platform","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Platform","id":10}},{"id":156,"name":"feature","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Feature","id":2}},{"id":157,"name":"dom","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Dom","id":60}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":356,"character":47}]}}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":356,"character":37}]},{"id":158,"name":"reset","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":159,"name":"reset","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":357,"character":29}]}],"groups":[{"title":"Interfaces","kind":256,"children":[60,2,56,7,10]},{"title":"Variables","kind":32,"children":[148,146,147,149]},{"title":"Functions","kind":64,"children":[141,150,158]}]} |
@@ -0,1 +1,11 @@ | ||
<a name="1.2.0"></a> | ||
# [1.2.0](https://github.com/aurelia/pal/compare/1.1.1...v1.2.0) (2016-12-13) | ||
### Features | ||
* **index:** add PLATFORM.moduleName ([da92298](https://github.com/aurelia/pal/commit/da92298)) | ||
<a name="1.1.1"></a> | ||
@@ -2,0 +12,0 @@ ## [1.1.1](https://github.com/aurelia/pal/compare/1.1.0...v1.1.1) (2016-12-08) |
{ | ||
"name": "aurelia-pal", | ||
"version": "1.1.1", | ||
"version": "1.2.0", | ||
"description": "Aurelia's platform abstraction layer (PAL).", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -136,3 +136,2 @@ /** | ||
removeEventListener(eventName: string, callback: Function, capture?: boolean): void; | ||
/** | ||
@@ -142,10 +141,43 @@ * Reference to the Loader Class (set after the loader has been first imported) | ||
Loader: any; | ||
/** | ||
* Resolves a module name to a path resolvable by the loader. By default returns the first parameter. | ||
* It is recommended to use this for all dynamic imports as it enables static analysis | ||
* and optionally allows adding custom metadata used by the build step. | ||
* | ||
* References to this method should always literally call `PLATFORM.moduleName(...)`. | ||
* This enables the build step to statically optimize the code by replacing the reference with a string. | ||
* | ||
* @param moduleName Absolute or relative path to the module. | ||
* @param options Optional options used during the static analysis that inform how to process the module. | ||
*/ | ||
moduleName(moduleName: string, options?: ModuleNameOptions): string; | ||
} | ||
/** | ||
* Options used during the static analysis that inform how to process a given module. | ||
*/ | ||
interface ModuleNameOptions { | ||
/** | ||
* Use code-splitting by separating out the requested module into its own file | ||
*/ | ||
lazy?: boolean; | ||
/** | ||
* Add the module to a chunk by name | ||
*/ | ||
chunk?: string; | ||
/** | ||
* When provided, use a RegExp instead of the moduleName during static analysis | ||
*/ | ||
moduleRegex?: RegExp; | ||
} | ||
/** | ||
* The singleton instance of the Platform API. | ||
*/ | ||
export const PLATFORM: Platform = { | ||
noop: function() {}, | ||
eachModule() {} | ||
noop() {}, | ||
eachModule() {}, | ||
moduleName(moduleName) { | ||
return moduleName; | ||
} | ||
}; | ||
@@ -152,0 +184,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
117947
1984