上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 23 下一页
摘要: if (typeof exports !== "undefined") { exports.** = **;} else { this.** = **;} 阅读全文
posted @ 2015-04-29 08:03 Coca-code 阅读(174) 评论(0) 推荐(0)
摘要: 一.新建js文件var c = require('child_process');c.exec("start http://www.54peixun.com "); 阅读全文
posted @ 2015-04-27 23:37 Coca-code 阅读(204) 评论(0) 推荐(0)
摘要: 一.whynode.js用来解决服务端阻塞二.what有三种类型模块:1.核心模块:http fs path...2.文件模块:var util=requrie('./util.js')3.第三方模块:var promise=require(someMould)三.how1.创建模块: 例如:tes... 阅读全文
posted @ 2015-04-26 10:41 Coca-code 阅读(132) 评论(0) 推荐(0)
摘要: if(object.prototype.toString.apply(my_value)==='[object array]'){ //my_value确实是一个数组} 阅读全文
posted @ 2015-04-25 17:42 Coca-code 阅读(103) 评论(0) 推荐(0)
摘要: varisNumber=functionisNumber(value){ returntypeofvalue==='number'&&isFinite(value);} 阅读全文
posted @ 2015-04-25 17:35 Coca-code 阅读(147) 评论(0) 推荐(0)
摘要: 一.NativeApp优点:1.可以在多平台上跑2.性能好缺点:1.开发周期长2.APPStore审核时间长(至少2weeks)3.版本更新难(用户不愿更新)4.图文混合的页面有坑(字体,编排困难)二.WebApp1.原理:将HTML5+CSS3+js做成的页面通过phoneGap或APPCan打包... 阅读全文
posted @ 2015-04-23 08:03 Coca-code 阅读(259) 评论(0) 推荐(0)
摘要: 第一步对于刚接触Node.js的新手来说,第一步无非是打好基础,你需要弄明白以下事情:JavaScript 的特性和语法。假如你对 JavaScript 还不熟悉的话,推荐书籍及链接:JavaScript 推荐书籍列表深入理解JavaScript系列Node.js 是什么?Node.js与JavaS... 阅读全文
posted @ 2015-04-22 17:44 Coca-code 阅读(259) 评论(0) 推荐(0)
摘要: 模块:1.reset(推荐normalize)2.layout---------------3.css34.helps5.Typography6.Utillities7.browswer(统领) 阅读全文
posted @ 2015-04-19 16:52 Coca-code 阅读(127) 评论(0) 推荐(0)
摘要: http://www.cnblogs.com/tuquu/p/4434905.html 阅读全文
posted @ 2015-04-17 15:31 Coca-code 阅读(121) 评论(0) 推荐(0)
摘要: www.fontawesome.io/ 阅读全文
posted @ 2015-04-16 21:33 Coca-code 阅读(91) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 23 下一页