Frage

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?

War es hilfreich?

Lösung

load ('underscore.js');

I found a nice Intro

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top