Browse Source

fixed incorrect append of nody By CustomNodeAppender

sanex3339 8 years ago
parent
commit
7055ddc9e7
2 changed files with 249 additions and 181 deletions
  1. 249 171
      dist/index.js
  2. 0 10
      test/dev/test.ts

File diff suppressed because it is too large
+ 249 - 171
dist/index.js


+ 0 - 10
test/dev/test.ts

@@ -8,12 +8,6 @@ const JavaScriptObfuscator: any = require("../../index");
 
 let obfuscatedCode: string = JavaScriptObfuscator.obfuscate(
     `
-    var start = new Date();
-
-    var log = console.log;
-    
-    console.log = function () {};
-    
     (function(){
         var result = 1,
             term1 = 0,
@@ -72,10 +66,6 @@ let obfuscatedCode: string = JavaScriptObfuscator.obfuscate(
             console.log(error);
         }
     })();
-    
-    console.log = log;
-
-    console.log(new Date() - start);
     `,
     {
         disableConsoleOutput: false,

Some files were not shown because too many files changed in this diff