Browse Source

node 0.12 fix

sanex3339 8 năm trước cách đây
mục cha
commit
fbabb0f898
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/templates/custom-nodes/Rc4Template.ts

+ 1 - 1
src/templates/custom-nodes/Rc4Template.ts

@@ -3,7 +3,7 @@
  */
 export function Rc4Template (): string {
     return `
-        function rc4 (str, key) {
+        var rc4 = function (str, key) {
             var s = [], j = 0, x, res = '', newStr = '';
            
             str = atob(str);