Soviut
Soviut
Yes, see my code snippet above. On every route change I'm calling the `.refreshAds()` after every `$routeChangeSuccess` event. It doesn't work very well though if the previous and next pages...
Yeah, I'm having to add a 2000 millisecond timeout, far longer than the transition time, and even then it's temperamental.
So my currently functional solution is to clear the slot on route change start: ``` coffeescript $rootScope.$on '$routeChangeStart', -> slotPromise = DoubleClick.getSlot 'div-gpt-ad-1234567890' slotPromise.then (slot) -> googletag.pubads().clear [slot] ``` Then...
Yeah, for now I'm adding them directly to the `googletag.cmd` async queue. Though it might be better if this were done as a promise in the config block.
I'm curious which libraries you've found that won't work? Or which issues are you running into with the language? TypeScript is just a superset of JS so if you just...
You can just name the file with `.ts` and then write regular javascript in it.
The issue isn't typescript, it's the build failing on type errors. Just add the following to the top of the file to tell it to not check your file for...
I would close it. You have a solution. Lots of hosts like Netlify, which uses Deno, require TypeScript as well for their edge functions. It's pretty much going to be...
The argument you're going to get in response every time is that "TypeScript is JavaScript". It's not a new language, just a compile-time type system layered on top of JS....
You really need to go read some of the Deno documentation. Importing from anywhere is a Deno feature, not TypeScript. Javascript modules work just fine in TypeScript. It's telling you...