1.0.1 • Published 5 years ago

@byuweb/web-components-loader v1.0.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 years ago

Web Components Loader

This file is a copy of the webcomponents loader published by the Polymer project. It has been tweaked to interface with our CDN and web components.

How to use

In your components entry point, include the following line:

load(bundleUrl, [polyfillRootUrl])
  • bundleUrl: The URL of the bundle relative to the entry point
  • polyfillRootUrl: The root URL of the polyfills (with no trailing slash).

BYU'ism

Because of how we load our components, we had to add lines 174-180 to webcomponents-loader.js and use that to check for the ready state rather than the original document.readyState === 'loading' statement.

1.0.1

5 years ago

1.0.0

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago