摘要: 主要目的是学习如何使用require.js AMD就是通过延迟和按需加载来解决各个模块的依赖关系,其中require就是AMD的框架之一 它的优点是可以解决以下问题: 源代码:https://github.com/dirkhe1051931999/writeBlog/tree/master/sanj 阅读全文
posted @ 2018-07-08 19:16 dirk_jian 阅读(370) 评论(0) 推荐(0) 编辑
摘要: 1、zepto 2、iscroll.js 3、scroll-probe.js 完整代码:https://github.com/dirkhe1051931999/writeBlog/tree/master/iscroll iscroll: https://github.com/cubiq/iscrol 阅读全文
posted @ 2018-07-08 18:24 dirk_jian 阅读(425) 评论(0) 推荐(0) 编辑