摘要:1. 使用 express-generator 初始化项目 参见http://blog.csdn.net/sinat_26054677/article/details/43958369 2. 初始化npm配置文件 npm init
阅读全文
摘要:1. 国内使用npm安装某些插件的时候,偶尔会有网络问题,可以使用cnpm:(后续所有使用 npm 无法正常安装的,都改成 cnpm 试试) a. 首先使用 npm 安装 cnpm:npm install -g cnpm --registry=https://registry.npm.taobao.
阅读全文
摘要:一些可能有用的相关文章: https://blogs.msdn.microsoft.com/scott_hanselman/2011/11/28/window-iisnode-js/ http://blog.csdn.net/puncha/article/details/9047311 201611
阅读全文
摘要:http://freewind.me/blog/20121226/1167.htmlhttp://88250.b3log.org/bae-sae-gaehttp://www.ruanyifeng.com/blog/2012/05/responsive_web_design.htmlhttp://www.phonegapcn.com/http://www.gbin1.com/technology/javascript/20120717-AugularJS-features/
阅读全文
摘要:我觉得最清晰的方式是试用prototype,如下: var animal = function(){ this.name = 'pipi'; this.age = 10; this.height = 0; } var cat = function() { this.play = function() { alert("cat play"); } cat.prototype = new ani...
阅读全文