10 2017 档案

摘要:git diff b4556 //当前分支 比较 b4556 commit号 git revert HEAD // 本地会滚到上一个版本,如果需要线上也要回滚 再push 一下 git revert b45568uutgh //会滚到上 8uutgh commit git reset --hard 阅读全文
posted @ 2017-10-23 18:09 adouwt 阅读(314) 评论(0) 推荐(0)
摘要:1. brew install nginx 2.brew services list 3.brew services start nginx 4.brew servicies stop nginx 5.brew services restart nginx 6.一般安装目录 /usr/local/e 阅读全文
posted @ 2017-10-23 17:55 adouwt 阅读(133) 评论(0) 推荐(0)
摘要:window.touchMove=function(){ // 用于纪录触摸开始时的坐标 var startX=0,startY=0, //创建一个变量,用于保存触摸方向 touchDirection=""; //创建一个对象,用于保存滑动事件 var funcs = {}; if(arguments.length>=2&&argument... 阅读全文
posted @ 2017-10-20 12:45 adouwt 阅读(220) 评论(0) 推荐(0)
摘要:补充: 模拟mvvm的双向数据绑定 http://hcysun.me/2016/04/28/JavaScript%E5%AE%9E%E7%8E%B0MVVM%E4%B9%8B%E6%88%91%E5%B0%B1%E6%98%AF%E6%83%B3%E7%9B%91%E6%B5%8B%E4%B8%80 阅读全文
posted @ 2017-10-11 17:36 adouwt 阅读(342) 评论(0) 推荐(0)