mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-07-19 01:17:18 +00:00
feature(util) rm convertArrToObj
This commit is contained in:
parent
b5f7c7b414
commit
6ddf62d2be
1 changed files with 0 additions and 13 deletions
13
lib/util.js
13
lib/util.js
|
|
@ -185,19 +185,6 @@
|
|||
return to;
|
||||
};
|
||||
|
||||
this.convertArrToObj = function(pArrKeys, pArrVal) {
|
||||
var i, n, lName, lRet;
|
||||
|
||||
if (pArrKeys && pArrVal) {
|
||||
for(i = 0, n = pArrKeys; i < n; i++) {
|
||||
lName = pArrKeys[i];
|
||||
lRet[lName] = pArrVal[i];
|
||||
}
|
||||
}
|
||||
|
||||
return lRet;
|
||||
};
|
||||
|
||||
/**
|
||||
* copy pObj properties to pTargetObject
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue