mirror of
https://git.mirrors.martin98.com/https://github.com/cilame/v_jstools
synced 2025-10-09 21:46:34 +08:00
add
This commit is contained in:
parent
fc5cfe1efa
commit
628006abc2
@ -32489,11 +32489,13 @@ function MergeObj(path) {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
paths.map(function(refer_path) {
|
paths.map(function(refer_path) {
|
||||||
let bindpath = refer_path.parentPath;
|
try{
|
||||||
if (!t.isVariableDeclarator(bindpath.node)) return;
|
let bindpath = refer_path.parentPath;
|
||||||
let bindname = bindpath.node.id.name;
|
if (!t.isVariableDeclarator(bindpath.node)) return;
|
||||||
bindpath.scope.rename(bindname, name, bindpath.scope.block);
|
let bindname = bindpath.node.id.name;
|
||||||
bindpath.remove();
|
bindpath.scope.rename(bindname, name, bindpath.scope.block);
|
||||||
|
bindpath.remove();
|
||||||
|
}catch(e){}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user