mirror of
https://github.com/javascript-obfuscator/javascript-obfuscator
synced 2026-08-09 12:42:29 +00:00
API change, refactoring, readme update, changelog file
This commit is contained in:
@@ -83,13 +83,11 @@ export class JavaScriptObfuscatorInternal {
|
||||
* @returns {IObfuscationResult}
|
||||
*/
|
||||
public getObfuscationResult (): IObfuscationResult {
|
||||
let obfuscationResult: IObfuscationResult = new ObfuscationResult(
|
||||
this.generatorOutput.code,
|
||||
this.generatorOutput.map
|
||||
);
|
||||
|
||||
return new SourceMapCorrector(
|
||||
obfuscationResult,
|
||||
new ObfuscationResult(
|
||||
this.generatorOutput.code,
|
||||
this.generatorOutput.map
|
||||
),
|
||||
this.sourceMapUrl,
|
||||
this.options.get<TSourceMapMode>('sourceMapMode')
|
||||
).correct();
|
||||
|
||||
Reference in New Issue
Block a user