mirror of
https://github.com/danbulant/node-x11
synced 2026-05-24 12:35:39 +00:00
Array proto crash fix
fixed crash when Array has some proto modifications; minor spaces fix
This commit is contained in:
parent
6627fd5168
commit
7e8e972b24
1 changed files with 11 additions and 10 deletions
|
|
@ -231,9 +231,10 @@ function packValueMask(reqname, values)
|
|||
});
|
||||
|
||||
var args = [];
|
||||
for (m in masksList)
|
||||
for (var i=0,length=masksList.length;i<length;i++)
|
||||
{
|
||||
var valueName = reqValueMaskName[masksList[m]];
|
||||
var value = masksList[i];
|
||||
var valueName = reqValueMaskName[value];
|
||||
format += reqValueMask[valueName].format
|
||||
args.push( values[valueName] );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue