
underscore
文章平均质量分 91
aitangyong
成长最快、最好的方式就是交流和总结!
展开
-
(三)underscore.js框架Objects类API学习
keys_.keys(object) Retrieve all the names of the object's properties. _.keys({one: 1, two: 2, three: 3}); => ["one", "two", "three"] values_.values(object) Return all of the values of the obje原创 2014-10-26 16:47:17 · 1395 阅读 · 0 评论 -
(二)underscore.js框架Utility类API学习以及模型template的详细介绍
本文主要是介绍underscore.js的utility函数,主要是介绍underscore.js中的模板原创 2014-10-19 15:27:44 · 2511 阅读 · 0 评论 -
(一)underscore入门和数组类工具API学习
underscore.js是一个JS框架,在原生javascript基础上提供了很多有用的工具API。apache提供了commons-lang、commons-io、commons-collections等jar包提供很多java语言常用的工具方法,underscore.js功能与之类似。经常开发JS代码的都知道,JS原生的Array、String等内置的API很少,不能满足实际开发过程中国的需要。所以引入一些工具库很有必要,避免我们重复的写一些本来应该公用的方法。原创 2014-10-18 15:23:17 · 3194 阅读 · 0 评论