Tell me more ×
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

2 Answers

up vote 0 down vote accepted

Github is not a CDN. Dont use it like that. Also dont 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's CDNJS.com. Its not akami, but its 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

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

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.