Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I select more than 1 framework with jsFiddle?

How do I actually get jsfiddle to use more than 1 library? I can only seem to get it to use either jquery OR knockout but not both. Yet when I look at other peoples fiddles they dont seem to have this problem. Really annoying dont know why its so diffuclt and no searches on the internet yielded anything!!!

Thanks

like image 378
Exitos Avatar asked Jan 18 '13 10:01

Exitos


2 Answers

You can only assign one framework via the dropdown in the sidebar. If you need to add another framework you need to add a resource using a link to a CDN.

like image 66
Rory McCrossan Avatar answered Oct 07 '22 02:10

Rory McCrossan


Use this to add another framework. Sample showing knockout cdn

$.getScript("//cdnjs.cloudflare.com/ajax/libs/knockout/2.2.1/knockout-min.js", function(){     /* Lines of code */     }); 
like image 33
Okky Avatar answered Oct 07 '22 02:10

Okky