Skip to content

Commit 478b964

Browse files
authored
Update p_a_c_k_e_r_unpacker.js: fix tests
Closes #2078
1 parent e53d549 commit 478b964

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

js/src/unpackers/p_a_c_k_e_r_unpacker.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ var P_A_C_K_E_R = {
103103
t.expect("function test (){alert ('This is a test!')}; " +
104104
"eval(function(p,a,c,k,e,r){e=String;if(!''.replace(/^/,String))" +
105105
"{while(c--)r[c]=k[c]||c;k=[function(e){return r[e]}];e=function" +
106-
"(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp(" +
107-
"'\\b'+e(c)+'\\b','g'),k[c]);return p}('0 2=\\\'{Íâ–+›ï;ã†Ù¥#\\\'',3,3," +
106+
"(){return'\\\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp(" +
107+
"'\\\\b'+e(c)+'\\\\b','g'),k[c]);return p}('0 2=\\'{Íâ–+›ï;ã†Ù¥#\\'',3,3," +
108108
"'var||a'.split('|'),0,{}))",
109109
"function test (){alert ('This is a test!')}; var a='{Íâ–+›ï;ã†Ù¥#'");
110110

0 commit comments

Comments
 (0)