0

Getting started with Backbone and Marionette, I was about to copy the file at https://github.com/marionettejs/backbone.marionette/blob/master/lib/backbone.marionette.js to my local server, but wondered if there was a CDN version of it.

For Underscore and Backbone dev, I'm including these two files, respectively:

http://documentcloud.github.com/underscore/underscore-min.js

http://documentcloud.github.com/backbone/backbone-min.js

Is there a similar URL for backbone.marrionette.js?

2 Answers 2

2

Marionette is available on http://www.cdnjs.com search for it or just use //cdnjs.cloudflare.com/ajax/libs/backbone.marionette/0.10.2/backbone.marionette.min.js

0

Github is not a CDN. Don't use it like that. Also, don't include the HTTP:// when using a CDN domain or else on SSL pages you will get security errors.

You could simply use src="//documentcloud.github.com/backbone/backbone-min.js" which will be HTTP on HTTP requests and HTTPS on SSL requests.

Now as for CDN, take a look at CloudFlare CDNJS.com. Its not Akamai, but it's free.

Here is a link to the framework you were interested in //cdnjs.cloudflare.com/ajax/libs/backbone.marionette/0.10.2/backbone.marionette.min.js

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.