I added a content security policy and wanted to remove unsafe-inline so I'm deferring components globally.
@Html.Kendo().DeferredScripts()
The problem is that I have other JavaScript code which references components in the jQuery document ready function which now don't work. I think it's because the components haven't been initialized yet.
When deferring components globally how do you execute JavaScript code after the components have been initialized?
Thank you