Quantcast
Channel: Javascript .NET
Viewing all articles
Browse latest Browse all 137

New Post: Adding Other Libraries to Context

$
0
0
I am sure I am missing something easy, but how would you add a library, say Underscore.JS, to the context so that your script would have access to the functions and objects within that library? I have looked at the documentation and cannot figure out the best way to do it.

For example, in my script, I would like to be able to use Underscore like you would normally if you include the Underscore library in a web page.

I think the solution involves somehow passing in the library as a context variable. But it is not clear how I would do that.

I appreciate any guidance you can provide.

Thanks!

Viewing all articles
Browse latest Browse all 137

Trending Articles



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