Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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?

share|improve this question
add comment

2 Answers

up vote 0 down vote accepted

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

share|improve this answer
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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