使用的jsfiddle:我该如何使用underscore.js或Backbone.js的库? [英] Using jsfiddle: how can I use underscore.js or backbone.js libraries?
本文介绍了使用的jsfiddle:我该如何使用underscore.js或Backbone.js的库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在的jsfiddle
可以使用例如jQuery的。结果
但我看不到任何引用,例如,强调或Backbone.js的。
In jsfiddle
is possible to use for example jQuery.
But I cannot see any references, for example, to underscore or backbone.js.
如果我运行这个演示我得到的错误:
If I run this demo I get the error:
Uncaught ReferenceError: _ is not defined
我
如何使用underscore.js或Backbone.js的图书馆的jsfiddle?
How can I use underscore.js or backbone.js libraries in jsfiddle?
推荐答案
有关所需的库添加URL下的添加资源按钮的左侧。
Add the URL for the required library under the "Add Resources" button on the left hand side.
请参阅 http://jsfiddle.net/alnitak/BwHxv/
这篇关于使用的jsfiddle:我该如何使用underscore.js或Backbone.js的库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文