Skip to content

Instantly share code, notes, and snippets.

@mxmason
Last active August 6, 2019 18:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mxmason/95b716846fba50fa6aefddf769671228 to your computer and use it in GitHub Desktop.
Save mxmason/95b716846fba50fa6aefddf769671228 to your computer and use it in GitHub Desktop.
<!-- External dependencies the component needs to run (optional) -->
<script src="https://unpkg.com/PATH_TO_FILE.js"></script>
<!-- Polyfill loaders - Will not execute for modern browsers -->
<!-- WebComponents -->
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@^2/webcomponents-loader.js"></script>
<!-- JS features -->
<script src="https://polyfill.io/v3/polyfill.js?features=default"></script>
<script type="module" src="path/to/pearson-component.js"></script>
<script nomodule src="path/to/pearson-component.esm.js"></script>
<!-- Moment -->
<script src="https://unpkg.com/moment@^2/min/moment.min.js"></script>
<!-- loadJS -->
<script src="https://unpkg.com/fg-loadjs@1.1.0/loadJS.js"></script>
<!-- Polyfill loaders - Will not execute for modern browsers -->
<!-- WebComponents -->
<script src="https://unpkg.com/@webcomponents/webcomponentsjs@^2/webcomponents-loader.js"></script>
<!-- JS features -->
<script src="https://polyfill.io/v3/polyfill.js?features=default"></script>
<script type="module" src="path/to/pearson-timepicker.js"></script>
<script nomodule src="path/to/pearson-timepicker.esm.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment