Вопрос

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