Package detail

aurelia-pal-browser

aurelia44.8kMIT1.8.1

The browser-specific implementation of Aurelia's platform abstraction layer.

aurelia, pal

readme

aurelia-pal-browser

npm Version ZenHub Join the chat at https://gitter.im/aurelia/discuss CircleCI

This library is part of the Aurelia platform and contains the browser-specific implementation of the platform abstraction layer.

To keep up to date on Aurelia, please visit and subscribe to the official blog and our email list. We also invite you to follow us on twitter. If you have questions look around our Discourse forums, chat in our community on Gitter or use stack overflow. Documentation can be found in our developer hub. If you would like to have deeper insight into our development process, please install the ZenHub Chrome or Firefox Extension and visit any of our repository's boards.

Platform Support

This library can be used in the browser as well as on the server.

Building The Code

To build the code, follow these steps.

  1. Ensure that NodeJS is installed. This provides the platform on which the build tooling runs.
  2. From the project folder, execute the following command:

    npm install
    
  3. Ensure that Gulp is installed. If you need to install it, use the following command:

    npm install -g gulp
    
  4. To build the code, you can now run:

    gulp build
    
  5. You will find the compiled code in the dist folder, available in three module formats: AMD, CommonJS and ES6.

  6. See gulpfile.js for other tasks related to generating the docs and linting.

Running The Tests

To run the unit tests, first ensure that you have followed the steps above in order to install all dependencies and successfully build the library. Once you have done that, proceed with these additional steps:

  1. Ensure that the Karma CLI is installed. If you need to install it, use the following command:

    npm install -g karma-cli
    
  2. Ensure that jspm is installed. If you need to install it, use the following commnand:

    npm install -g jspm
    
  3. Download the SystemJS module loader:

    jspm dl-loader
    
  4. You can now run the tests with this command:

    karma start
    

changelog

1.8.0 (2018-04-17)

Features

  • Updated to support new PAL methods and typings.

1.7.0 (2018-03-06)

Features

  • performance: performance api update (#32) (b1b488f)

1.6.0 (2018-03-03)

Features

1.4.0 (2018-01-27)

Features

  • dom: Enable injectStyles to replace the contents of an existing style element by id.

1.3.1 (2017-12-20)

Bug Fixes

  • html-template-element: fix unable to get property querySelectorAll error when using webcomponents-lite in IE11 (#27) (9e4b62f)

1.3.0 (2017-08-22)

Features

  • dom: add createAttribute function (#21) (6759618)
  • dom: add createTemplateElement (a04ca40)

1.2.1 (2017-04-05)

Bug Fixes

  • pal-browser: regression in Function.name polyfill on iOS (#20) (17d2eb7)

1.2.0 (2017-03-23)

Features

  • add flag to opt-out of IE support

1.1.0 (2016-12-07)

Features

  • index: move isInitialized to aurelia-pal (#14) (13c3b77)

1.0.0 (2016-07-27)

Bug Fixes

Performance Improvements

  • polyfill: remove Date.now polyfill (#8) (27b1fb7)

1.0.0-rc.1.0.1 (2016-07-12)

Bug Fixes

  • dom: only use parentNode is provided (eff0211)

1.0.0-rc.1.0.0 (2016-06-22)

1.0.0-beta.2.0.1 (2016-05-24)

Features

1.0.0-beta.2.0.0 (2016-05-23)

Features

  • feature: Implement Shadow DOM v1 Check (#4) (4f9ba7e2)

1.0.0-beta.1.2.1 (2016-05-10)

1.0.0-beta.1.2.0 (2016-03-22)

  • Update to Babel 6

1.0.0-beta.1.1.4 (2016-03-01)

Bug Fixes

1.0.0-beta.1.1.3 (2016-02-08)

Bug Fixes

  • dom: mark optional parameters (7355b4ae)

1.0.0-beta.1.1.2 (2016-01-28)

  • fix package metadata for jspm

1.0.0-beta.1.1.0 (2016-01-28)

Bug Fixes

Features

  • all: update for jspm; update core-js and aurelia deps (9d870d29)
  • feature: add mutation observer feature detection (3add002e)

1.0.0-beta.1.0.3 (2016-01-08)

1.0.0-beta.1.0.2 (2016-01-08)

Bug Fixes

  • feature: remove Obect/Array observe detection (ecf35855)
  • package: add missing core-js dependency (08ab345a)

1.0.0-beta.1.0.1 (2015-12-16)

Features

  • PAL: requestAnimationFrame and performance APIs (8427b1f2)
  • performance: performance API polyfill (9b706b38)

1.0.0-beta.1 (2015-11-15)

0.3.0 (2015-11-09)

0.2.0 (2015-10-13)

Bug Fixes

  • all:
    • ensure initialization happens only once (b594bcea)
    • update to new initialization method and add DOM title prop (abc46c93)
    • correct type info (bd43eb17)
    • make polfill patches explicit (a9a8c84c)
  • html-template-element: correctly handle child templates (a6961f33)
  • initialize: use correct platform object for global access (e7493568)
  • package: correct main path (142415ac)
  • platform:
    • incorrect platform reference (cef7ba8b)
    • remove bad module iteration method (3529b983)

Features

  • all:
    • add activeElement and scopedCSS (02bd5924)
    • correct missing properties on pal objects (5da8ba3b)
    • add dom and platform event apis (613d516d)
    • initial implementation (b9aacd06)

0.1.13 (2015-10-09)

Features

  • all: add activeElement and scopedCSS (02bd5924)

0.1.12 (2015-10-04)

0.1.11 (2015-10-02)

Bug Fixes

  • initialize: use correct platform object for global access (e7493568)

0.1.10 (2015-10-02)

Features

  • all: correct missing properties on pal objects (5da8ba3b)

0.1.9 (2015-10-02)

Bug Fixes

  • all: ensure initialization happens only once (b594bcea)

0.1.8 (2015-10-02)

0.1.7 (2015-10-02)

Bug Fixes

  • all: update to new initialization method and add DOM title prop (abc46c93)

0.1.6 (2015-10-02)

Features

  • all: add dom and platform event apis (613d516d)

0.1.5 (2015-10-01)

Bug Fixes

0.1.4 (2015-10-01)

Bug Fixes

  • html-template-element: correctly handle child templates (a6961f33)

0.1.3 (2015-09-27)

0.1.2 (2015-09-27)

Bug Fixes

  • platform: remove bad module iteration method (3529b983)

0.1.1 (2015-09-27)

Features

  • all: initial implementation (b9aacd06)