refactoring + inversify integration

This commit is contained in:
sanex3339
2016-12-02 19:15:30 +03:00
parent 5b312fd6db
commit 47b85720e5
41 changed files with 1602 additions and 1096 deletions
@@ -12,6 +12,8 @@ import { IStorage } from '../../interfaces/storages/IStorage';
import { ObfuscationEvents } from '../../enums/ObfuscationEvents';
import { initializable } from '../../decorators/Initializable';
import { NO_CUSTOM_NODES_PRESET } from '../../preset-options/NoCustomNodesPreset';
import { SelfDefendingTemplate } from '../../templates/custom-nodes/string-array-nodes/string-array-rotate-function-node/SelfDefendingTemplate';
@@ -32,16 +34,19 @@ export class StringArrayRotateFunctionNode extends AbstractCustomNode {
/**
* @type {IStorage <string>}
*/
@initializable()
private stringArray: IStorage <string>;
/**
* @type {string}
*/
@initializable()
private stringArrayName: string;
/**
* @param {number}
*/
@initializable()
private stringArrayRotateValue: number;
/**
@@ -66,8 +71,6 @@ export class StringArrayRotateFunctionNode extends AbstractCustomNode {
this.stringArray = stringArray;
this.stringArrayName = stringArrayName;
this.stringArrayRotateValue = stringArrayRotateValue;
super.initialize();
}
/**