Thursday, April 16, 2015

Reference GitHub file in jsFiddle

The github file cannot be used directly in jsFiddle. 

Firstly get the raw file url from github, like this 

https://raw.githubusercontent.com/eliperelman/fn.js/master/build/fn.js

Then go to http://rawgit.com/

Paste the raw file url there, it generates the url for dev/testing and production. Normally I use the dev/testing url in jsFiddle and it works

No comments:

Post a Comment