Question

I want to use Underscore.js and Backbone.js in a stand-alone SpiderMonkey scriptfile. I can find only very simple examples of SpiderMonkey scripts.

How do I include Underscore.js and Backbone.js (and other libraries like jQuery) in a stand-alone SpiderMonkey scriptfile? Can you point me to any other useful resources for writing SpiderMonkey js scripts?

Was it helpful?

Solution

load ('underscore.js');

I found a nice Intro

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top