简单JS代码压缩器

2019-06-03 18:43:24于海丽

               }
               htmlTxt[htmlTxt.length] = codeArr[i] + " ";
           //处理双引号(引号前不能为转义字符)    
           } else if (!slash_star_comment_opened&&!slash_slash_comment_opened&&this._quotation.contains(codeArr[i])){                                                    
               if (quote_opened){
                   //是相应的引号
                   if(quote_char==codeArr[i]){
                       htmlTxt[htmlTxt.length] = codeArr[i];                    
                       quote_opened    = false;
                       quote_char      = "";
                   } else {
                       htmlTxt[htmlTxt.length] = codeArr[i];            
                   }
               } else {
                   htmlTxt[htmlTxt.length] =  codeArr[i];
                   quote_opened    = true;
                   quote_char        = codeArr[i];