Quantcast
Channel: ClearScript
Viewing all articles
Browse latest Browse all 2297

New Post: Calling javascript which uses setTimeout/setInterval

$
0
0
For one of the projects, I use some pre-existing java script files and expose them via C# to use in some C# libraries.

I am encountering errors while trying to execute java scripts files which uses async calls via setTimeout/setInterval.

Specific error is "ReferenceError: setTimeout is not defined".

Any suggestions or workaround on how I can execute such java script files?

Thanks!!!

Viewing all articles
Browse latest Browse all 2297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>