Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aurelia-pal

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aurelia-pal - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

2

bower.json
{
"name": "aurelia-pal",
"version": "1.0.0",
"version": "1.1.0",
"description": "Aurelia's platform abstraction layer (PAL).",

@@ -5,0 +5,0 @@ "keywords": [

@@ -9,2 +9,3 @@ define(['exports'], function (exports) {

exports.initializePAL = initializePAL;
exports.reset = reset;
function AggregateError(message, innerError, skipIfAlreadyAggregate) {

@@ -66,4 +67,8 @@ if (innerError) {

var DOM = exports.DOM = {};
var isInitialized = exports.isInitialized = false;
function initializePAL(callback) {
if (isInitialized) {
return;
}
exports.isInitialized = isInitialized = true;
if (typeof Object.getPropertyDescriptor !== 'function') {

@@ -83,2 +88,5 @@ Object.getPropertyDescriptor = function (subject, name) {

}
function reset() {
exports.isInitialized = isInitialized = false;
}
});

@@ -61,3 +61,3 @@

*/
location: Object;
location: typeof window.location;

@@ -67,3 +67,3 @@ /**

*/
history: Object;
history: typeof window.history;

@@ -85,3 +85,3 @@ /**

*/
XMLHttpRequest: XMLHttpRequest;
XMLHttpRequest: typeof XMLHttpRequest;

@@ -119,3 +119,3 @@ /**

*/
Element: Element;
Element: typeof Element;

@@ -125,3 +125,3 @@ /**

*/
SVGElement: SVGElement;
SVGElement: typeof SVGElement;

@@ -313,2 +313,3 @@ /**

export declare const DOM: Dom;
export declare let isInitialized: any;

@@ -319,2 +320,3 @@ /**

*/
export declare function initializePAL(callback: ((platform: Platform, feature: Feature, dom: Dom) => void)): void;
export declare function initializePAL(callback: ((platform: Platform, feature: Feature, dom: Dom) => void)): void;
export declare function reset(): any;

@@ -99,7 +99,7 @@

*/
location: Object;
location: typeof window.location;
/**
* The runtime's history API.
*/
history: Object;
history: typeof window.history;
/**

@@ -118,3 +118,3 @@ * The runtime's performance API

*/
XMLHttpRequest: XMLHttpRequest;
XMLHttpRequest: typeof XMLHttpRequest;
/**

@@ -171,7 +171,7 @@ * Iterate all modules loaded by the script loader.

*/
Element: Element;
Element: typeof Element;
/**
* The global DOM SVGElement type.
*/
SVGElement: SVGElement;
SVGElement: typeof SVGElement;
/**

@@ -313,3 +313,3 @@ * A key representing a DOM boundary.

export const DOM: Dom = {};
export let isInitialized = false;
/**

@@ -320,2 +320,6 @@ * Enables initializing a specific implementation of the Platform Abstraction Layer (PAL).

export function initializePAL(callback: (platform: Platform, feature: Feature, dom: Dom) => void): void {
if (isInitialized) {
return;
}
isInitialized = true;
if (typeof Object.getPropertyDescriptor !== 'function') {

@@ -335,1 +339,4 @@ Object.getPropertyDescriptor = function(subject, name) {

}
export function reset() {
isInitialized = false;
}

@@ -8,2 +8,3 @@ 'use strict';

exports.initializePAL = initializePAL;
exports.reset = reset;
function AggregateError(message, innerError, skipIfAlreadyAggregate) {

@@ -65,4 +66,8 @@ if (innerError) {

var DOM = exports.DOM = {};
var isInitialized = exports.isInitialized = false;
function initializePAL(callback) {
if (isInitialized) {
return;
}
exports.isInitialized = isInitialized = true;
if (typeof Object.getPropertyDescriptor !== 'function') {

@@ -81,2 +86,5 @@ Object.getPropertyDescriptor = function (subject, name) {

callback(PLATFORM, FEATURE, DOM);
}
function reset() {
exports.isInitialized = isInitialized = false;
}

@@ -58,4 +58,9 @@

export const DOM = {};
export let isInitialized = false;
export function initializePAL(callback) {
if (isInitialized) {
return;
}
isInitialized = true;
if (typeof Object.getPropertyDescriptor !== 'function') {

@@ -74,2 +79,5 @@ Object.getPropertyDescriptor = function (subject, name) {

callback(PLATFORM, FEATURE, DOM);
}
export function reset() {
isInitialized = false;
}

@@ -58,4 +58,9 @@

export var DOM = {};
export var isInitialized = false;
export function initializePAL(callback) {
if (isInitialized) {
return;
}
isInitialized = true;
if (typeof Object.getPropertyDescriptor !== 'function') {

@@ -74,2 +79,5 @@ Object.getPropertyDescriptor = function (subject, name) {

callback(PLATFORM, FEATURE, DOM);
}
export function reset() {
isInitialized = false;
}

@@ -6,3 +6,3 @@ 'use strict';

var FEATURE, PLATFORM, DOM;
var FEATURE, PLATFORM, DOM, isInitialized;
function AggregateError(message, innerError, skipIfAlreadyAggregate) {

@@ -47,2 +47,6 @@ if (innerError) {

function initializePAL(callback) {
if (isInitialized) {
return;
}
_export('isInitialized', isInitialized = true);
if (typeof Object.getPropertyDescriptor !== 'function') {

@@ -65,2 +69,8 @@ Object.getPropertyDescriptor = function (subject, name) {

function reset() {
_export('isInitialized', isInitialized = false);
}
_export('reset', reset);
return {

@@ -95,4 +105,8 @@ setters: [],

_export('DOM', DOM);
_export('isInitialized', isInitialized = false);
_export('isInitialized', isInitialized);
}
};
});

@@ -11,3 +11,3 @@ 'use strict';

for (var _key in _aureliaPal) {
if (_key !== "default" && key !== "__esModule") _exportObj[_key] = _aureliaPal[_key];
if (_key !== "default" && _key !== "__esModule") _exportObj[_key] = _aureliaPal[_key];
}

@@ -14,0 +14,0 @@

@@ -1,1 +0,1 @@

{"name":"aurelia-pal","children":[{"id":40,"name":"Dom","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Represents the core APIs of the DOM."},"children":[{"id":41,"name":"Element","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The global DOM Element type."},"type":{"type":"reference","name":"Element"}},{"id":42,"name":"SVGElement","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The global DOM SVGElement type."},"type":{"type":"reference","name":"SVGElement"}},{"id":45,"name":"activeElement","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The document's active/focused element."},"type":{"type":"reference","name":"Element"}},{"id":43,"name":"boundary","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"A key representing a DOM boundary."},"type":{"type":"instrinct","name":"string"}},{"id":44,"name":"title","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The document title."},"type":{"type":"instrinct","name":"string"}},{"id":46,"name":"addEventListener","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":47,"name":"addEventListener","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Add an event listener to the document."},"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 that receives a notification when an event of the specified type occurs."},"type":{"type":"reference","name":"Function"}},{"id":50,"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"}}]},{"id":56,"name":"adoptNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":57,"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":58,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node to be adopted."},"type":{"type":"reference","name":"Node"}}],"type":{"type":"reference","name":"Node"}}]},{"id":95,"name":"appendNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":96,"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":97,"name":"newNode","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node to append."},"type":{"type":"reference","name":"Node"}},{"id":98,"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"}}]},{"id":65,"name":"createComment","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":66,"name":"createComment","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a new Comment node.","returns":"A Comment node.\n"},"parameters":[{"id":67,"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"}}]},{"id":73,"name":"createCustomEvent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":74,"name":"createCustomEvent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a new CustomEvent.","returns":"A CustomEvent.\n"},"parameters":[{"id":75,"name":"eventType","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string representing the event type."},"type":{"type":"instrinct","name":"string"}},{"id":76,"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"}}]},{"id":68,"name":"createDocumentFragment","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":69,"name":"createDocumentFragment","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a new DocumentFragment.","returns":"A DocumentFragment.\n"},"type":{"type":"reference","name":"DocumentFragment"}}]},{"id":59,"name":"createElement","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":60,"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":61,"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"}}]},{"id":70,"name":"createMutationObserver","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":71,"name":"createMutationObserver","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a new MutationObserver.","returns":"A MutationObservere.\n"},"parameters":[{"id":72,"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"}}]},{"id":92,"name":"createTemplateFromMarkup","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":93,"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":94,"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"}}]},{"id":62,"name":"createTextNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":63,"name":"createTextNode","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a new Text node.","returns":"A Text node.\n"},"parameters":[{"id":64,"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"}}]},{"id":77,"name":"dispatchEvent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":78,"name":"dispatchEvent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Dispatches an event on the document."},"parameters":[{"id":79,"name":"evt","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The event to dispatch.\n"},"type":{"type":"reference","name":"Event"}}],"type":{"type":"instrinct","name":"void"}}]},{"id":80,"name":"getComputedStyle","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":81,"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":82,"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"}}]},{"id":83,"name":"getElementById","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":84,"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":85,"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"}}]},{"id":108,"name":"injectStyles","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":109,"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":110,"name":"styles","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The css text to injext."},"type":{"type":"instrinct","name":"string"}},{"id":111,"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":112,"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"}}]},{"id":89,"name":"nextElementSibling","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":90,"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":91,"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"}}]},{"id":86,"name":"querySelectorAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":87,"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":88,"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"}}]},{"id":51,"name":"removeEventListener","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":52,"name":"removeEventListener","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Remove an event listener from the document."},"parameters":[{"id":53,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string representing the event type to listen for."},"type":{"type":"instrinct","name":"string"}},{"id":54,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The function to remove from the event."},"type":{"type":"reference","name":"Function"}},{"id":55,"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"}}]},{"id":104,"name":"removeNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":105,"name":"removeNode","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes the specified node from the parent node."},"parameters":[{"id":106,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node to remove."},"type":{"type":"reference","name":"Node"}},{"id":107,"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"}}]},{"id":99,"name":"replaceNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":100,"name":"replaceNode","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Replaces a node in the parent with a new node."},"parameters":[{"id":101,"name":"newNode","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node to replace the old node with."},"type":{"type":"reference","name":"Node"}},{"id":102,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node that is being replaced."},"type":{"type":"reference","name":"Node"}},{"id":103,"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"}}]}],"groups":[{"title":"Properties","kind":1024,"children":[41,42,45,43,44]},{"title":"Methods","kind":2048,"children":[46,56,95,65,73,68,59,70,92,62,77,80,83,108,89,86,51,104,99]}]},{"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?"},"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?"},"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?"},"type":{"type":"instrinct","name":"boolean"}},{"id":3,"name":"shadowDOM","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"Does the runtime environment support ShadowDOM?"},"type":{"type":"instrinct","name":"boolean"}}],"groups":[{"title":"Properties","kind":1024,"children":[5,6,4,3]}]},{"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"}}]}],"groups":[{"title":"Methods","kind":2048,"children":[8]}]},{"id":10,"name":"Platform","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Represents the core APIs of the runtime environment."},"children":[{"id":22,"name":"XMLHttpRequest","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The runtime's XMLHttpRequest API."},"type":{"type":"reference","name":"XMLHttpRequest"}},{"id":11,"name":"global","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The runtime environment's global."},"type":{"type":"instrinct","name":"any"}},{"id":14,"name":"history","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The runtime's history API."},"type":{"type":"reference","name":"Object"}},{"id":13,"name":"location","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The runtime's location API."},"type":{"type":"reference","name":"Object"}},{"id":12,"name":"noop","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"A function wich does nothing."},"type":{"type":"reference","name":"Function"}},{"id":15,"name":"performance","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The runtime's performance API"},"type":{"type":"reference","name":"Performance","id":7}},{"id":30,"name":"addEventListener","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":31,"name":"addEventListener","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Add a global event listener."},"parameters":[{"id":32,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string representing the event type to listen for."},"type":{"type":"instrinct","name":"string"}},{"id":33,"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":34,"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"}}]},{"id":23,"name":"eachModule","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":24,"name":"eachModule","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Iterate all modules loaded by the script loader."},"parameters":[{"id":25,"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":26,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":27,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":28,"name":"key","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"instrinct","name":"string"}},{"id":29,"name":"value","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Object"}}],"type":{"type":"instrinct","name":"boolean"}}]}}}],"type":{"type":"instrinct","name":"void"}}]},{"id":35,"name":"removeEventListener","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":36,"name":"removeEventListener","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Remove a global event listener."},"parameters":[{"id":37,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string representing the event type to listen for."},"type":{"type":"instrinct","name":"string"}},{"id":38,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The function to remove from the event."},"type":{"type":"reference","name":"Function"}},{"id":39,"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"}}]},{"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"}}]}}}],"type":{"type":"instrinct","name":"number"}}]}],"groups":[{"title":"Properties","kind":1024,"children":[22,11,14,13,12,15]},{"title":"Methods","kind":2048,"children":[30,23,35,16]}]},{"id":120,"name":"DOM","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"The singleton instance of the Dom API."},"type":{"type":"reference","name":"Dom","id":40}},{"id":118,"name":"FEATURE","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"The singleton instance of the Feature discovery API."},"type":{"type":"reference","name":"Feature","id":2}},{"id":119,"name":"PLATFORM","kind":32,"kindString":"Variable","flags":{"isExported":true},"comment":{"shortText":"The singleton instance of the Platform API."},"type":{"type":"reference","name":"Platform","id":10}},{"id":113,"name":"AggregateError","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":114,"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":115,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The error message."},"type":{"type":"instrinct","name":"string"}},{"id":116,"name":"innerError","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The inner error message to aggregate."},"type":{"type":"reference","name":"Error"}},{"id":117,"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"}}]},{"id":121,"name":"initializePAL","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":122,"name":"initializePAL","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enables initializing a specific implementation of the Platform Abstraction Layer (PAL)."},"parameters":[{"id":123,"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":124,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":125,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":126,"name":"platform","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Platform","id":10}},{"id":127,"name":"feature","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Feature","id":2}},{"id":128,"name":"dom","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Dom","id":40}}],"type":{"type":"instrinct","name":"void"}}]}}}],"type":{"type":"instrinct","name":"void"}}]}],"groups":[{"title":"Interfaces","kind":256,"children":[40,2,7,10]},{"title":"Variables","kind":32,"children":[120,118,119]},{"title":"Functions","kind":64,"children":[113,121]}]}
{"name":"aurelia-pal","children":[{"id":51,"name":"Dom","kind":256,"kindString":"Interface","flags":{"isExported":true},"comment":{"shortText":"Represents the core APIs of the DOM."},"children":[{"id":52,"name":"Element","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The global DOM Element type."},"sources":[{"fileName":"aurelia-pal.d.ts","line":116,"character":9}],"type":{"type":"reflection","declaration":{"id":53,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":55,"name":"constructor","kind":512,"kindString":"Constructor","flags":{},"signatures":[{"id":56,"name":"new __type","kind":16384,"kindString":"Constructor signature","flags":{},"type":{"type":"reference","name":"__type","id":53}}],"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":54,"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":[55]},{"title":"Variables","kind":32,"children":[54]}],"sources":[{"fileName":"aurelia-pal.d.ts","line":116,"character":10}]}}},{"id":57,"name":"SVGElement","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The global DOM SVGElement type."},"sources":[{"fileName":"aurelia-pal.d.ts","line":121,"character":12}],"type":{"type":"reflection","declaration":{"id":58,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"children":[{"id":60,"name":"constructor","kind":512,"kindString":"Constructor","flags":{},"signatures":[{"id":61,"name":"new __type","kind":16384,"kindString":"Constructor signature","flags":{},"type":{"type":"reference","name":"__type","id":58}}],"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":59,"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":[60]},{"title":"Variables","kind":32,"children":[59]}],"sources":[{"fileName":"aurelia-pal.d.ts","line":121,"character":13}]}}},{"id":64,"name":"activeElement","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The document's active/focused element."},"sources":[{"fileName":"aurelia-pal.d.ts","line":136,"character":15}],"type":{"type":"reference","name":"Element"}},{"id":62,"name":"boundary","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"A key representing a DOM boundary."},"sources":[{"fileName":"aurelia-pal.d.ts","line":126,"character":10}],"type":{"type":"instrinct","name":"string"}},{"id":63,"name":"title","kind":1024,"kindString":"Property","flags":{"isExported":true},"comment":{"shortText":"The document title."},"sources":[{"fileName":"aurelia-pal.d.ts","line":131,"character":7}],"type":{"type":"instrinct","name":"string"}},{"id":65,"name":"addEventListener","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":66,"name":"addEventListener","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Add an event listener to the document."},"parameters":[{"id":67,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string representing the event type to listen for."},"type":{"type":"instrinct","name":"string"}},{"id":68,"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":69,"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":144,"character":18}]},{"id":75,"name":"adoptNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":76,"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":77,"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":159,"character":11}]},{"id":114,"name":"appendNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":115,"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":116,"name":"newNode","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node to append."},"type":{"type":"reference","name":"Node"}},{"id":117,"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":249,"character":12}]},{"id":84,"name":"createComment","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":85,"name":"createComment","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a new Comment node.","returns":"A Comment node.\n"},"parameters":[{"id":86,"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":180,"character":15}]},{"id":92,"name":"createCustomEvent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":93,"name":"createCustomEvent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a new CustomEvent.","returns":"A CustomEvent.\n"},"parameters":[{"id":94,"name":"eventType","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string representing the event type."},"type":{"type":"instrinct","name":"string"}},{"id":95,"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":201,"character":19}]},{"id":87,"name":"createDocumentFragment","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":88,"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":186,"character":24}]},{"id":78,"name":"createElement","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":79,"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":80,"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":166,"character":15}]},{"id":89,"name":"createMutationObserver","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":90,"name":"createMutationObserver","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a new MutationObserver.","returns":"A MutationObservere.\n"},"parameters":[{"id":91,"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":193,"character":24}]},{"id":111,"name":"createTemplateFromMarkup","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":112,"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":113,"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":242,"character":26}]},{"id":81,"name":"createTextNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":82,"name":"createTextNode","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Creates a new Text node.","returns":"A Text node.\n"},"parameters":[{"id":83,"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":173,"character":16}]},{"id":96,"name":"dispatchEvent","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":97,"name":"dispatchEvent","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Dispatches an event on the document."},"parameters":[{"id":98,"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":207,"character":15}]},{"id":99,"name":"getComputedStyle","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":100,"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":101,"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":214,"character":18}]},{"id":102,"name":"getElementById","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":103,"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":104,"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":221,"character":16}]},{"id":127,"name":"injectStyles","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":128,"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":129,"name":"styles","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The css text to injext."},"type":{"type":"instrinct","name":"string"}},{"id":130,"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":131,"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":273,"character":14}]},{"id":108,"name":"nextElementSibling","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":109,"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":110,"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":235,"character":20}]},{"id":105,"name":"querySelectorAll","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":106,"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":107,"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":228,"character":18}]},{"id":70,"name":"removeEventListener","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":71,"name":"removeEventListener","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Remove an event listener from the document."},"parameters":[{"id":72,"name":"eventName","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"A string representing the event type to listen for."},"type":{"type":"instrinct","name":"string"}},{"id":73,"name":"callback","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The function to remove from the event."},"type":{"type":"reference","name":"Function"}},{"id":74,"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":152,"character":21}]},{"id":123,"name":"removeNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":124,"name":"removeNode","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Removes the specified node from the parent node."},"parameters":[{"id":125,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node to remove."},"type":{"type":"reference","name":"Node"}},{"id":126,"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":264,"character":12}]},{"id":118,"name":"replaceNode","kind":2048,"kindString":"Method","flags":{"isExported":true},"signatures":[{"id":119,"name":"replaceNode","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Replaces a node in the parent with a new node."},"parameters":[{"id":120,"name":"newNode","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node to replace the old node with."},"type":{"type":"reference","name":"Node"}},{"id":121,"name":"node","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The node that is being replaced."},"type":{"type":"reference","name":"Node"}},{"id":122,"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":257,"character":13}]}],"groups":[{"title":"Properties","kind":1024,"children":[52,57,64,62,63]},{"title":"Methods","kind":2048,"children":[65,75,114,84,92,87,78,89,111,81,96,99,102,127,108,105,70,123,118]}],"sources":[{"fileName":"aurelia-pal.d.ts","line":111,"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":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":[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":139,"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":307,"character":24}],"type":{"type":"reference","name":"Dom","id":51}},{"id":137,"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":291,"character":28}],"type":{"type":"reference","name":"Feature","id":2}},{"id":138,"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":299,"character":29}],"type":{"type":"reference","name":"Platform","id":10}},{"id":140,"name":"isInitialized","kind":32,"kindString":"Variable","flags":{"isExported":true},"sources":[{"fileName":"aurelia-pal.d.ts","line":308,"character":32}],"type":{"type":"instrinct","name":"any"}},{"id":132,"name":"AggregateError","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":133,"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":134,"name":"message","kind":32768,"kindString":"Parameter","flags":{},"comment":{"text":"The error message."},"type":{"type":"instrinct","name":"string"}},{"id":135,"name":"innerError","kind":32768,"kindString":"Parameter","flags":{"isOptional":true},"comment":{"text":"The inner error message to aggregate."},"type":{"type":"reference","name":"Error"}},{"id":136,"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":283,"character":38}]},{"id":141,"name":"initializePAL","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":142,"name":"initializePAL","kind":4096,"kindString":"Call signature","flags":{},"comment":{"shortText":"Enables initializing a specific implementation of the Platform Abstraction Layer (PAL)."},"parameters":[{"id":143,"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":144,"name":"__type","kind":65536,"kindString":"Type literal","flags":{},"signatures":[{"id":145,"name":"__call","kind":4096,"kindString":"Call signature","flags":{},"parameters":[{"id":146,"name":"platform","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Platform","id":10}},{"id":147,"name":"feature","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Feature","id":2}},{"id":148,"name":"dom","kind":32768,"kindString":"Parameter","flags":{},"type":{"type":"reference","name":"Dom","id":51}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":314,"character":47}]}}}],"type":{"type":"instrinct","name":"void"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":314,"character":37}]},{"id":149,"name":"reset","kind":64,"kindString":"Function","flags":{"isExported":true},"signatures":[{"id":150,"name":"reset","kind":4096,"kindString":"Call signature","flags":{},"type":{"type":"instrinct","name":"any"}}],"sources":[{"fileName":"aurelia-pal.d.ts","line":315,"character":29}]}],"groups":[{"title":"Interfaces","kind":256,"children":[51,2,7,10]},{"title":"Variables","kind":32,"children":[139,137,138,140]},{"title":"Functions","kind":64,"children":[132,141,149]}]}

@@ -0,1 +1,16 @@

<a name="1.1.0"></a>
# [1.1.0](https://github.com/aurelia/pal/compare/1.0.0...v1.1.0) (2016-12-07)
### Bug Fixes
* **index:** proper typings ([15a8692](https://github.com/aurelia/pal/commit/15a8692))
### Features
* **index:** move isInitialized to aurelia-pal ([7b75f00](https://github.com/aurelia/pal/commit/7b75f00))
<a name="1.0.0"></a>

@@ -2,0 +17,0 @@ # [1.0.0](https://github.com/aurelia/pal/compare/1.0.0-rc.1.0.0...v1.0.0) (2016-07-27)

@@ -9,4 +9,4 @@ <!--

Durandal Inc. offers paid support agreements. Further information regarding paid support
may be obtained by emailing support@durandal.io
Blue Spire offers paid support agreements. Further information regarding paid support
may be obtained by emailing support@bluespire.com

@@ -13,0 +13,0 @@ Future support requests submitted here will be closed.

{
"name": "aurelia-pal",
"version": "1.0.0",
"version": "1.1.0",
"description": "Aurelia's platform abstraction layer (PAL).",

@@ -5,0 +5,0 @@ "keywords": [

@@ -10,3 +10,3 @@ # aurelia-pal

> To keep up to date on [Aurelia](http://www.aurelia.io/), please visit and subscribe to [the official blog](http://blog.durandal.io/) and [our email list](http://durandal.us10.list-manage1.com/subscribe?u=dae7661a3872ee02b519f6f29&id=3de6801ccc). We also invite you to [follow us on twitter](https://twitter.com/aureliaeffect). If you have questions, please [join our community on Gitter](https://gitter.im/aurelia/discuss). If you would like to have deeper insight into our development process, please install the [ZenHub](https://zenhub.io) Chrome or Firefox Extension and visit any of our repository's boards. You can get an overview of all Aurelia work by visiting [the framework board](https://github.com/aurelia/framework#boards).
> To keep up to date on [Aurelia](http://www.aurelia.io/), please visit and subscribe to [the official blog](http://blog.aurelia.io/) and [our email list](http://eepurl.com/ces50j). We also invite you to [follow us on twitter](https://twitter.com/aureliaeffect). If you have questions, please [join our community on Gitter](https://gitter.im/aurelia/discuss) or use [stack overflow](http://stackoverflow.com/search?q=aurelia). Documentation can be found [in our developer hub](http://aurelia.io/hub.html). If you would like to have deeper insight into our development process, please install the [ZenHub](https://zenhub.io) Chrome or Firefox Extension and visit any of our repository's boards.

@@ -13,0 +13,0 @@ ## Platform Support

@@ -98,7 +98,7 @@ /**

*/
location: Object;
location: typeof window.location;
/**
* The runtime's history API.
*/
history: Object;
history: typeof window.history;
/**

@@ -117,3 +117,3 @@ * The runtime's performance API

*/
XMLHttpRequest: XMLHttpRequest;
XMLHttpRequest: typeof XMLHttpRequest;
/**

@@ -170,7 +170,7 @@ * Iterate all modules loaded by the script loader.

*/
Element: Element;
Element: typeof Element;
/**
* The global DOM SVGElement type.
*/
SVGElement: SVGElement;
SVGElement: typeof SVGElement;
/**

@@ -312,3 +312,3 @@ * A key representing a DOM boundary.

export const DOM: Dom = {};
export let isInitialized = false;
/**

@@ -319,2 +319,6 @@ * Enables initializing a specific implementation of the Platform Abstraction Layer (PAL).

export function initializePAL(callback: (platform: Platform, feature: Feature, dom: Dom) => void): void {
if (isInitialized) {
return;
}
isInitialized = true;
if (typeof Object.getPropertyDescriptor !== 'function') {

@@ -334,1 +338,4 @@ Object.getPropertyDescriptor = function(subject, name) {

}
export function reset() {
isInitialized = false;
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc