我正尝试在我的Marionette应用程序中切换Zepto,并试图使用此zepto插件(https://github.com/sudhirj/simply-deferred)支持jquery的缓存。我也使用require.js,至今头被埋使其工作,我仍然得到这个错误: Uncaught TypeError: Object function (selector, context){
ret
如果我将一个html字符串传递给jQuery或Zepto构造函数,我期望它创建一个传入了所有元素的DOM对象。但是它只返回具有第一个元素的对象。 这是预期的还是我在做一些真正明显错误的字符串? 这里是小提琴:http://jsfiddle.net/6TUSN/ o.html()输出:This is the main content of the <strong>home</strong> inde
Twitter的typeahead.js对jQuery 1.9(documentation)具有依赖性,但Zurb Foundation 4将尝试在现代浏览器中加载Zepto.js。如果没有加载jQuery 1.9,typeahead.js会抛出一个错误($.deferred is not defined),显示需要做出什么样的改变才能使这两个库一起工作?