參考http://cn.cocos2d-x.org/doc/cocos2d-x-3.0/d3/d82/classcocos2d_1_1_node.html 当中和child、parent有关的成员函数例如以下: Children and Parent virtual void addChild (N ...
分类:
数据库 时间:
2018-04-25 14:02:29
阅读次数:
281
1 // 获取dom树 2 var getElement = (node, array) => { 3 if (node && node.nodeType ===1){ 4 array.push(node.tagName) 5 } 6 for (let i=0;i{ 13 let html = do... ...
分类:
其他好文 时间:
2018-04-25 12:12:53
阅读次数:
183
对于新鲜的事务总是那么好奇,在自动化的过程中,有幸了解到macaca,记录下安装过程,具体介绍请移步官网:https://github.com/macacajs/ python版本参考:https://testerhome.com/topics/7898 详细教程 第一步:安装node.js 下载地 ...
分类:
系统相关 时间:
2018-04-25 10:21:40
阅读次数:
270
import time,randomdef sift_down(arr, node, end): root = node #print(root,2*root+1,end) while True: # 从root开始对最大堆调整 child = 2 * root +1 #left child if ...
分类:
编程语言 时间:
2018-04-25 10:20:33
阅读次数:
227
#include #include using namespace std; typedef struct node* list; struct node { int Item; list next; }; static void DisplayList(list head) { if (head-... ...
分类:
其他好文 时间:
2018-04-25 10:20:00
阅读次数:
159
related:https://stackoverflow.com/questions/36689536/how-to-resolve-hostname-to-an-ip-address-in-node-js ...
分类:
Web程序 时间:
2018-04-24 21:52:44
阅读次数:
296
In computer science, a heap is a specialized tree-based data structure that satisfies the heap property: if P is a parent node of C, then the key (the ...
分类:
其他好文 时间:
2018-04-24 20:26:43
阅读次数:
161
以下是自己做的一个从初级前端开发工程师到大神级别前端开发工程师的学习路线思维导图,希望可以帮到大家: 关于书籍: Java高级程序设计(第3版) 红皮书 Java权威指南(第6版) 犀牛书 深入浅出Node.js 锋利的jQuery(第2版) Java DOM编程艺术 (第2版) Head Firs ...
分类:
其他好文 时间:
2018-04-24 17:40:18
阅读次数:
193
注:安装sass的前提是安装Ruby 注:安装vue的前提是安装node 注:安装node的前提是安装Python 项目模板 Simple 个人感觉没用 Webpack Webpack-simple Browserify Browserify-simple 1、Npm install vue-cli ...
分类:
其他好文 时间:
2018-04-24 14:58:14
阅读次数:
145
vue-cli 是一个官方发布 vue.js 项目脚手架,使用 vue-cli 可以快速创建 vue 项目,GitHub地址是:https://github.com/vuejs/vue-cli 一、 安装 node.js 首先需要安装node环境,可以直接到中文官网http://nodejs.cn/ ...
分类:
其他好文 时间:
2018-04-24 14:49:41
阅读次数:
159