Skip to content

Commit

Permalink
fix: Icons missing on examples page (closes #138)
Browse files Browse the repository at this point in the history
  • Loading branch information
icaraps committed Oct 6, 2020
1 parent b7cd3c9 commit 39b736a
Show file tree
Hide file tree
Showing 69 changed files with 69 additions and 2 deletions.
1 change: 1 addition & 0 deletions coral-component-accordion/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-actionbar/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-alert/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-anchorbutton/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-autocomplete/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-banner/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-button/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-buttongroup/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-calendar/examples/index.html
Expand Up @@ -37,6 +37,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-card/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-charactercount/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-checkbox/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-checkboxgroup/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-clock/examples/index.html
Expand Up @@ -38,6 +38,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-coachmark/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-colorinput/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-columnview/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-cyclebutton/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-datepicker/examples/index.html
Expand Up @@ -38,6 +38,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-dialog/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-drawer/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-fileupload/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-icon/examples/index.html
Expand Up @@ -37,6 +37,7 @@
const script = document.createElement('script');
script.dataset.coralIconsExternal = 'off';
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-list/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-masonry/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-multifield/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-numberinput/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-overlay/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-panelstack/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-popover/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-progress/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-quickactions/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-radio/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-radiogroup/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-search/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-select/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-shell/examples/index.html
Expand Up @@ -34,6 +34,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-sidenav/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-slider/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-splitbutton/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-status/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-steplist/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-switch/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-table/examples/index.html
Expand Up @@ -45,6 +45,7 @@
}
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-tablist/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-tabview/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-taglist/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-textarea/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-textfield/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down
1 change: 1 addition & 0 deletions coral-component-toast/examples/index.html
Expand Up @@ -36,6 +36,7 @@
document.addEventListener('DOMContentLoaded', function() {
const script = document.createElement('script');
script.src = '../dist/js/coral.js';
script.dataset.coralIcons = '../dist/resources/';
document.head.appendChild(script);
});
</script>
Expand Down

0 comments on commit 39b736a

Please sign in to comment.