소스 검색

node 0.12 fix

sanex3339 8 년 전
부모
커밋
fbabb0f898
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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);