随笔分类 -  node.js webkit

摘要://var grades = ['1', '2', '3', '4', '7', '8', '9']; var grades = ['1']; grades.forEach(function (item) { App.Temp... 阅读全文
posted @ 2015-01-08 15:02 红鲤鱼与驴与绿鲤鱼 阅读(264) 评论(0) 推荐(0)
摘要:一个集合,里面有年和月的属性,按照年和月进行分组显示数据 var groupByYearMonth = _.chain(topics).groupBy(function (item) { return item.TopicYear * 100 + item.TopicMonth }).map(fun... 阅读全文
posted @ 2015-01-07 16:51 红鲤鱼与驴与绿鲤鱼 阅读(163) 评论(0) 推荐(0)
摘要:1、 安装node,设置代理npm config set registry https://registry.npm.taobao.org【cmd运行】2、 安装grunt-cli: npm install -g grunt-cli 【 cmd命令行运行】3、 安装grunt模块,在Growth... 阅读全文
posted @ 2014-12-18 18:42 红鲤鱼与驴与绿鲤鱼 阅读(188) 评论(0) 推荐(0)