mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
using stirngArrayStorage id as string array nodes name
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import { injectable } from 'inversify';
|
||||
|
||||
import { ArrayStorage } from '../ArrayStorage';
|
||||
import { RandomGeneratorUtils } from '../../utils/RandomGeneratorUtils';
|
||||
import { Utils } from '../../utils/Utils';
|
||||
|
||||
@injectable()
|
||||
@@ -11,6 +12,15 @@ export class StringArrayStorage extends ArrayStorage <string> {
|
||||
this.initialize();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param args
|
||||
*/
|
||||
public initialize (...args: any[]): void {
|
||||
super.initialize(args);
|
||||
|
||||
this.storageId = RandomGeneratorUtils.getRandomVariableName(4, false);
|
||||
}
|
||||
|
||||
/**
|
||||
* @param rotationValue
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user