该文被密码保护。 阅读全文
posted @ 2015-12-16 18:20 Ben Chan 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 比如执行gulp test如果需要获取test,使用命令process.argv即可如果执行gulp test --module aaaa,这句话表示的意思执行gulp test,顺带参数module,并且module的值为aaaa,如果要想获取module的值,只需执行gulp.env.modul... 阅读全文
posted @ 2015-12-16 10:55 Ben Chan 阅读(843) 评论(0) 推荐(0) 编辑
摘要: var path = require("path");var url = path.resolve('./'); 阅读全文
posted @ 2015-12-15 17:21 Ben Chan 阅读(4085) 评论(0) 推荐(0) 编辑
摘要: 在网上找了好久,很多用gulp-ignore来处理,或者!来处理经验证,gulp-ignore没有效果,如果有大神路过,还请指教;!一般的写法只能排除单个文件,以下直接写结论1.如何排除单个文件gulp.src([ './a/**/*','!./a/test.html'])2.如何排除文件夹gulp... 阅读全文
posted @ 2015-12-15 11:58 Ben Chan 阅读(3370) 评论(0) 推荐(1) 编辑
摘要: 转载自:http://www.ithao123.cn/content-649841.html移动端开发仿app头部底部固定设置position:fixed,android2.2以上已经实现。但是在ios8以下系统,当小键盘激活时,都会出现位置浮动问题。如图:如何解决:查阅资料之后想到一下几种解决方法... 阅读全文
posted @ 2015-12-02 18:10 Ben Chan 阅读(2934) 评论(0) 推荐(0) 编辑
摘要: 请参考http://www.cnblogs.com/Wayou/p/how_to_choose_a_license.html一般用MIT协议描述要求允许禁止Apache一个较宽松且简明地指出了专利授权的协议。协议和版权信息声明变更商用分发修改专利授权私用附加协议责任承担(禁止让作者承担责任,可以理解... 阅读全文
posted @ 2015-12-02 10:07 Ben Chan 阅读(574) 评论(0) 推荐(0) 编辑
摘要: E元素名称(div, p); E#id使用id的元素(div#content, p#intro, span#error); E.class使用类的元素(div.header, p.error.critial). 你也可以联合使用class和idID: div#content.column.width... 阅读全文
posted @ 2015-11-24 16:29 Ben Chan 阅读(256) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2015-11-13 18:21 Ben Chan 阅读(1) 评论(0) 推荐(0) 编辑
摘要: http://my.oschina.net/ilivebox/blog/289670gulp-nodemonhttp://www.zhihu.com/question/32123388?sort=created使用gulp压缩合并AngularJS项目中jshttp://hicc.me/minify... 阅读全文
posted @ 2015-11-13 17:53 Ben Chan 阅读(149) 评论(0) 推荐(0) 编辑
摘要: https://docs.angularjs.org/api/ngTouch 阅读全文
posted @ 2015-11-13 09:31 Ben Chan 阅读(217) 评论(0) 推荐(0) 编辑