سؤال

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?

هل كانت مفيدة؟

المحلول

load ('underscore.js');

I found a nice Intro

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top