#cocoscreator

cocoscreator查找节点的方法 (跟jquery find一样)

vareach=function(object,callback){vartype=(function(){switch(object.constructor){caseObject:return'Object';break;caseArray:return'Array';break;caseNodeList:retu...