Javascript Zepto.js未捕获类型错误:对象[Object Object]没有方法';刷卡';

Javascript Zepto.js未捕获类型错误:对象[Object Object]没有方法';刷卡';,javascript,swipe,zepto,Javascript,Swipe,Zepto,我定制了一个包含触摸模块的zepto.js。当我检查我的zepto.js文件时,我在末尾发现了这个 ,a(window).on("scroll",l)}),["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap","singleTap","longTap"].forEach(function(b){a.fn[b]=function(a){return this.on(b,a)}})}(Zepto) 这让我

我定制了一个包含触摸模块的zepto.js。当我检查我的zepto.js文件时,我在末尾发现了这个

,a(window).on("scroll",l)}),["swipe","swipeLeft","swipeRight","swipeUp","swipeDown","doubleTap","tap","singleTap","longTap"].forEach(function(b){a.fn[b]=function(a){return this.on(b,a)}})}(Zepto)
这让我相信刷卡是加载在js文件中的

在html的底部,我有以下内容:

...
<script type="text/javascript" src="js/zepto.min.js"></script>
<script type="text/javascript">
  $(".row.main").swipe(function(){
    window.location.href = "editorial.html";
  })
</script>
</body>
</html>
。。。
$(“.row.main”).swip(函数(){
window.location.href=“editorial.html”;
})
我不明白为什么会出现
uncaughttypeerror:Object[Object Object]没有方法“swipe”
错误

有人能帮我吗