MCPcopy Create free account

hub / github.com/devin87/Q.js / functions

Functions633 in github.com/devin87/Q.js

↓ 1 callersFunctiontoObjectMap
* 将对象数组转换为键值对 eg: [{name:'a',value:1},{name:'b',value:2}] => {a:1,b:2} * @param {Array.<object>} list 要转换的对象数组 * @param {string} propKey 对象中
node/Q.js:430
↓ 1 callersFunctiontoPX
(el, value)
Q.js:3994
↓ 1 callersFunctiontoPX
(el, value)
src/Q.dom.js:133
↓ 1 callersFunctiontrim
* Trim extra space * * @param {String} selector * @return {String} Selector after tirm
Q.js:2829
↓ 1 callersFunctiontrim
* Trim extra space * * @param {String} selector * @return {String} Selector after tirm
lib/Q.query.js:101
↓ 1 callersFunctiontrim
* Trim extra space * * @param {String} selector * @return {String} Selector after tirm
src/Q.query.js:54
↓ 1 callersFunctionupdate
()
Q.js:6718
↓ 1 callersFunctionupdate
()
src/Q.setTimer.js:39
↓ 1 callersFunctionvals
* 根据指定的键或索引抽取数组项的值 * eg:vals([{id:1},{id:2}], "id") => [1,2] * eg:vals([[1,"a"],[2,"b"]], 1) => ["a","b"] * @param {Array} list 对象
Q.js:299
↓ 1 callersFunctionvals
* 根据指定的键或索引抽取数组项的值 * eg:vals([{id:1},{id:2}], "id") => [1,2] * eg:vals([[1,"a"],[2,"b"]], 1) => ["a","b"] * @param {Array} list
src/Q.js:299
↓ 1 callersFunctionvals
* 根据指定的键或索引抽取数组项的值 * eg:vals([{id:1},{id:2}], "id") => [1,2] * eg:vals([[1,"a"],[2,"b"]], 1) => ["a","b"] * @param {Array} list 对象
node/Q.js:299
↓ 1 callersFunctionwidth
(ele, value, flag)
Q.js:4097
↓ 1 callersFunctionwidth
(ele, value, flag)
src/Q.dom.js:236
FunctionF
()
Q.js:717
FunctionF
()
src/Q.js:717
FunctionF
()
node/Q.js:717
FunctionListener
* 自定义事件监听器 * @param {Array.<string>} types 自定义事件列表 * @param {object} bind 事件函数绑定的上下文 eg:fn.call(bind)
Q.js:1258
FunctionListener
* 自定义事件监听器 * @param {Array.<string>} types 自定义事件列表 * @param {object} bind 事件函数绑定的上下文 eg:fn.call(bind)
src/Q.js:1258
FunctionListener
* 自定义事件监听器 * @param {Array.<string>} types 自定义事件列表 * @param {object} bind 事件函数绑定的上下文 eg:fn.call(bind)
node/Q.js:1258
FunctionQEvent
(event)
Q.js:4640
FunctionQEvent
(event)
src/Q.event.js:52
FunctionQueue
* 异步队列 * @param {object} ops 配置对象 eg: {tasks:[],count:10000,limitMode:1,auto:true,workerThread:1,timeout:0,injectIndex:1,injectCallback:'complete
Q.js:1828
FunctionQueue
* 异步队列 * @param {object} ops 配置对象 eg: {tasks:[],count:10000,limitMode:1,auto:true,workerThread:1,timeout:0,injectIndex:1,injectCallback:'complet
src/Q.Queue.js:37
FunctionQueue
* 异步队列 * @param {object} ops 配置对象 eg: {tasks:[],count:10000,limitMode:1,auto:true,workerThread:1,timeout:0,injectIndex:1,injectCallback:'complete
node/Q.js:1828
FunctionSimpleQuery
(selector, context)
Q.js:5479
FunctionSimpleQuery
(selector, context)
src/Q.$.js:108
FunctionStorage
(type, useCookie)
Q.js:2521
FunctionStorage
(type, useCookie)
src/Q.core.js:314
FunctionStorage
(path)
src/node/store.js:19
FunctionStorage
(path)
node/Q.js:2292
FunctionTween
( elem, options, prop, end, easing )
lib/jquery-1.11.3.js:6930
Functionadd_events_one
(elements, types, selector, handle)
Q.js:4881
Functionadd_events_one
(elements, types, selector, handle)
src/Q.event.js:293
FunctionajaxQueue
* ajax队列 * @param {object} ops 配置对象 eg: {tasks:[],count:10000,limitMode:1,auto:true,workerThread:1,timeout:0,injectIndex:1,injectCallback:'comple
Q.js:2187
FunctionajaxQueue
* ajax队列 * @param {object} ops 配置对象 eg: {tasks:[],count:10000,limitMode:1,auto:true,workerThread:1,timeout:0,injectIndex:1,injectCallback:'compl
src/Q.Queue.js:396
FunctionajaxQueue
* ajax队列 * @param {object} ops 配置对象 eg: {tasks:[],count:10000,limitMode:1,auto:true,workerThread:1,timeout:0,injectIndex:1,injectCallback:'comple
node/Q.js:2187
Functionajax_setup
(ops)
Q.js:5039
Functionajax_setup
(ops)
src/Q.ajax.js:114
Functionarr
* 按条件产生数组 arr(5,2,2) => [2,4,6,8,10] * eg:按1-10项产生斐波那契数列 =>arr(10, function (value, i, list) { return i > 1 ? list[i - 1] + list[i - 2] : 1; })
Q.js:264
Functionarr
* 按条件产生数组 arr(5,2,2) => [2,4,6,8,10] * eg:按1-10项产生斐波那契数列 =>arr(10, function (value, i, list) { return i > 1 ? list[i - 1] + list[i - 2] : 1; })
src/Q.js:264
Functionarr
* 按条件产生数组 arr(5,2,2) => [2,4,6,8,10] * eg:按1-10项产生斐波那契数列 =>arr(10, function (value, i, list) { return i > 1 ? list[i - 1] + list[i - 2] : 1; })
node/Q.js:264
Functionattr
(ele, key, value)
Q.js:3933
Functionattr
(ele, key, value)
src/Q.dom.js:72
Functionbind_as_enter_leave
(fn)
Q.js:4752
Functionbind_as_enter_leave
(fn)
src/Q.event.js:164
Functioncache
( key, value )
lib/jquery-1.11.3.js:905
FunctioncheckInt
* 判断是否是符合条件的整数 * @param {string|number} str 要检测的字符串或数字 * @param {number|undefined} min 允许的最小值 * @param {number|undefined} max 允许的最大值
Q.js:185
FunctioncheckInt
* 判断是否是符合条件的整数 * @param {string|number} str 要检测的字符串或数字 * @param {number|undefined} min 允许的最小值 * @param {number|undefined} max 允许的最大值
src/Q.js:185
FunctioncheckInt
* 判断是否是符合条件的整数 * @param {string|number} str 要检测的字符串或数字 * @param {number|undefined} min 允许的最小值 * @param {number|undefined} max 允许的最大值
node/Q.js:185
FunctioncheckNthChild
* Check nth child HTMLELement whether matched condition * * @param {HTMLElement} el * @param {Number} i * @param {Number} len * @pa
Q.js:3225
FunctioncheckNthChild
* Check nth child HTMLELement whether matched condition * * @param {HTMLElement} el * @param {Number} i * @param {Number} len * @pa
lib/Q.query.js:497
FunctioncheckNthChild
* Check nth child HTMLELement whether matched condition * * @param {HTMLElement} el * @param {Number} i * @param {Number} len * @pa
src/Q.query.js:450
FunctioncheckNum
* 判断是否是符合条件的数字 * @param {string|number} str 要检测的字符串或数字 * @param {number|undefined} min 允许的最小值 * @param {number|undefined} max 允许的最大值
Q.js:170
FunctioncheckNum
* 判断是否是符合条件的数字 * @param {string|number} str 要检测的字符串或数字 * @param {number|undefined} min 允许的最小值 * @param {number|undefined} max 允许的最大值
src/Q.js:170
FunctioncheckNum
* 判断是否是符合条件的数字 * @param {string|number} str 要检测的字符串或数字 * @param {number|undefined} min 允许的最小值 * @param {number|undefined} max 允许的最大值
node/Q.js:170
FunctionclearCookie
()
Q.js:2500
FunctionclearCookie
()
src/Q.core.js:293
FunctionclearSelection
()
Q.js:2721
FunctionclearSelection
()
src/Q.core.js:514
Functionclone
* 数据克隆(深拷贝) * @param {object} data 要克隆的对象
Q.js:364
Functionclone
* 数据克隆(深拷贝) * @param {object} data 要克隆的对象
src/Q.js:364
Functionclone
* 数据克隆(深拷贝) * @param {object} data 要克隆的对象
node/Q.js:364
Functioncompleted
* The ready event handler and self cleanup method
lib/jquery-1.11.3.js:3499
FunctioncomputeMd5
* 计算文本md5值 * @param {string} text
src/node/core.js:58
FunctioncomputeMd5
* 计算文本md5值 * @param {string} text
node/Q.js:2266
FunctioncreateStyle
(cssText)
Q.js:4397
FunctioncreateStyle
(cssText)
src/Q.dom.js:536
FunctioncssToggle
(ele)
Q.js:4231
FunctioncssToggle
(ele)
src/Q.dom.js:370
Functiondebounce
* 函数防抖,返回一个延迟指定时间且仅执行最后一次触发的函数,若以小于指定时间的频率一直调用,则函数不会执行 * @param {number} time 指定时间(单位:ms) * @param {function} fn 处理函数(arg1,...) * @para
Q.js:697
Functiondebounce
* 函数防抖,返回一个延迟指定时间且仅执行最后一次触发的函数,若以小于指定时间的频率一直调用,则函数不会执行 * @param {number} time 指定时间(单位:ms) * @param {function} fn 处理函数(arg1,...) * @p
src/Q.js:697
Functiondebounce
* 函数防抖,返回一个延迟指定时间且仅执行最后一次触发的函数,若以小于指定时间的频率一直调用,则函数不会执行 * @param {number} time 指定时间(单位:ms) * @param {function} fn 处理函数(arg1,...) * @para
node/Q.js:697
FunctiondefaultPrefilter
( elem, props, opts )
lib/jquery-1.11.3.js:7141
FunctiondoAnimation
()
lib/jquery-1.11.3.js:7497
FunctiondownloadFile
* 下载文件 * @param {string} url 下载地址 * @param {string} dest 保存路径 * @param {function} cb 回调函数(data, errCode) * @param {object} ops
src/node/http.js:322
FunctiondownloadFile
* 下载文件 * @param {string} url 下载地址 * @param {string} dest 保存路径 * @param {function} cb 回调函数(data, errCode) * @param {object} ops 其它配
node/Q.js:2687
FunctionfcamelCase
( all, letter )
lib/jquery-1.11.3.js:85
FunctionfindTag
(ele, tagName)
Q.js:4380
FunctionfindTag
(ele, tagName)
src/Q.dom.js:519
FunctionfixDefaultChecked
( elem )
lib/jquery-1.11.3.js:5376
FunctionformatHost
* 格式化访问地址 eg: 192.168.1.50 => http://192.168.1.50/ * @param {string} host IP或访问地址 eg: 192.168.1.50 | http://192.168.1.50
Q.js:1449
FunctionformatHost
* 格式化访问地址 eg: 192.168.1.50 => http://192.168.1.50/ * @param {string} host IP或访问地址 eg: 192.168.1.50 | http://192.168.1.50
src/Q.js:1449
FunctionformatHost
* 格式化访问地址 eg: 192.168.1.50 => http://192.168.1.50/ * @param {string} host IP或访问地址 eg: 192.168.1.50 | http://192.168.1.50
node/Q.js:1449
FunctionformatSize
* 格式化数字输出,将数字转为合适的单位输出,默认按照1024层级转为文件单位输出 * @param {number} size 要解析的数字 * @param {object} ops 配置对象 {all:false,steps:1024,limit:100,trim:true
Q.js:1496
FunctionformatSize
* 格式化数字输出,将数字转为合适的单位输出,默认按照1024层级转为文件单位输出 * @param {number} size 要解析的数字 * @param {object} ops 配置对象 {all:false,steps:1024,limit:100,trim:tr
src/Q.js:1496
FunctionformatSize
* 格式化数字输出,将数字转为合适的单位输出,默认按照1024层级转为文件单位输出 * @param {number} size 要解析的数字 * @param {object} ops 配置对象 {all:false,steps:1024,limit:100,trim:true
node/Q.js:1496
Functionfunescape
( _, escaped, escapedWhitespace )
lib/jquery-1.11.3.js:737
FunctiongetAllNext
(ele)
Q.js:4348
FunctiongetAllNext
(ele)
src/Q.dom.js:487
FunctiongetAllPrev
(ele)
Q.js:4338
FunctiongetAllPrev
(ele)
src/Q.dom.js:477
FunctiongetCenter
(ele)
Q.js:4308
FunctiongetCenter
(ele)
src/Q.dom.js:447
FunctiongetChangedData
* 将目标对象中和源对象值不同的数据作为键值对返回 * @param {object} target 目标对象 * @param {object} source 源对象 * @param {Array.<string>} skipProps 要忽略比较的属性数组
Q.js:459
FunctiongetChangedData
* 将目标对象中和源对象值不同的数据作为键值对返回 * @param {object} target 目标对象 * @param {object} source 源对象 * @param {Array.<string>} skipProps 要忽略比较的属性数组
src/Q.js:459
FunctiongetChangedData
* 将目标对象中和源对象值不同的数据作为键值对返回 * @param {object} target 目标对象 * @param {object} source 源对象 * @param {Array.<string>} skipProps 要忽略比较的属性数组
node/Q.js:459
FunctiongetHttp
* http GET 请求 * @param {string} url 请求路径,支持http和https * @param {object} data 要提交的参数对象 * @param {function} cb 回调函数(data,errCode)
src/node/http.js:280
FunctiongetHttp
* http GET 请求 * @param {string} url 请求路径,支持http和https * @param {object} data 要提交的参数对象 * @param {function} cb 回调函数(data,errCode)
node/Q.js:2645
FunctiongetJSON
* http GET 请求,并将返回结果解析为JSON对象 * @param {string} url 请求路径,支持http和https * @param {object} data 要提交的参数对象 * @param {function} cb 回调函数(da
src/node/http.js:300
FunctiongetJSON
* http GET 请求,并将返回结果解析为JSON对象 * @param {string} url 请求路径,支持http和https * @param {object} data 要提交的参数对象 * @param {function} cb 回调函数(data,
node/Q.js:2665
← previousnext →401–500 of 633, ranked by callers