Explorar o código

node 0.12 fix

sanex3339 %!s(int64=8) %!d(string=hai) anos
pai
achega
fbabb0f898
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);