This commit is contained in:
sanex3339
2016-05-14 00:18:57 +03:00
parent fffce0e402
commit a2806cabc9
2 changed files with 2 additions and 3 deletions
+1
View File
@@ -0,0 +1 @@
unsafe-perm = true
@@ -90,9 +90,7 @@ export class VariableDeclarationObfuscator extends NodeObfuscator {
node.type === 'FunctionExpression' ||
node.type === 'ArrowFunctionExpression'
) {
functionParentScope = NodeUtils.getNodeScope(
node
);
functionParentScope = NodeUtils.getNodeScope(node);
if (NodeUtils.isBlockStatementNode(functionParentScope)) {
functionIndex = functionParentScope.body.indexOf(node);