Reputation: 2176
I know jsFiddle used to support arbitrary javascript files from GitHub, but not anymore. May be GitHub has changed its mime type of raw files. what are the alternatives when the required js files is not in any cdn (may be its less popular js repo).
Upvotes: 8
Views: 1512
Reputation: 8449
It's an old question I see, but still I've found the answer:
Why this works? because of the rawgithub.com service that serves the content with the correct MIME type.
And obviously, credits to http://www.geekdave.com/2013/06/19/linking-raw-github-files-from-jsfiddle/ where I actually found the answer I needed.
Cheers!
Upvotes: 9