zepto为什么不支持animate,报animate is not a function
2015-12-24 19:18
375 查看
在zepto.min.js文件中搜索animate看有没有,如果没有就是没有加入animate的模块
解决办法,去github中打开src/文件夹,找到fx.js文件,把内容追加到zepto.min.js中
因为有的zepto.min.js默认只是加载一部分模块的,如果需要touch,也可以加入touch.js模块
地址:https://github.com/madrobby/zepto
解决办法,去github中打开src/文件夹,找到fx.js文件,把内容追加到zepto.min.js中
因为有的zepto.min.js默认只是加载一部分模块的,如果需要touch,也可以加入touch.js模块
地址:https://github.com/madrobby/zepto
相关文章推荐
- 内部类
- 几个比较好的android入门级博客
- 关于FindComponent的使用,简化一些过程
- linux环境变量 export命令详解
- 【剑指offer】二维数组中的查找
- Objective-C 集合之NSArray的常用方法
- Java设计模式菜鸟系列(十七)桥接模式建模与实现
- Android 阅读源码,让你彻底理解AsyncTask运行原理
- 【CocoaPods】配置CocoaPods后 - CocoaPods使用
- R语言里的数据绑定
- ScheduledExecutorService的使用
- 学习笔记之TCP/IP协议的重要性
- Zookeeper的安装与HelloWorld
- [Python]croppic 裁剪图片的Python后台实现
- Android 轮播焦点图简单实现
- Android Studio 报错"gradle xxx is required. current version is xxx"
- 字符串的全排列
- poj1088(dp入门题)
- HibernateTestCase
- Linux 交叉编译环境详细配置