fix lint issues

This commit is contained in:
Jon McClure 2024-01-04 19:39:11 +00:00
parent 30c34f6c83
commit 2cfa006267
2 changed files with 7 additions and 5 deletions

View file

@ -3,7 +3,7 @@
import bootstrapLoad from './scripts/bootstrapLoad';
onMount(() => {
(<any>window).graphicsAdQueue = (<any>window).graphicsAdQueue || [];
window.graphicsAdQueue = window.graphicsAdQueue || [];
});
</script>
@ -25,10 +25,12 @@
<script
src="https://graphics.thomsonreuters.com/cdn/js/bootstrap.static.js"
on:load="{bootstrapLoad}"></script>
on:load="{bootstrapLoad}"
></script>
<script
src="https://a.pub.network/reuters-com/pubfig.min.js"
data-cfasync="false"
async></script>
async
></script>
</svelte:head>

View file

@ -23,8 +23,8 @@
import Block from '../Block/Block.svelte';
onMount(() => {
(<any>window).graphicsAdQueue = (<any>window).graphicsAdQueue || [];
(<any>window).graphicsAdQueue.push({
window.graphicsAdQueue = window.graphicsAdQueue || [];
window.graphicsAdQueue.push({
placementName,
slotId: placementName,
});