简单JS代码压缩器

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

           } else if (!slash_slash_comment_opened && !slash_star_comment_opened&&!quote_opened&&this.isStartWith(this._lineComment,codeArr,i)){                                                
               slash_slash_comment_opened = true;
               if(!this._deleteComment){
                   htmlTxt[htmlTxt.length] =  this._lineComment;
               }
               i = i + this.getSkipLength(this._lineComment);    
           //处理忽略词
           } else if (!slash_slash_comment_opened && !slash_star_comment_opened&&!quote_opened&&this.isStartWith(this._ignore,codeArr,i)){                                                
               slash_slash_comment_opened = true;
               htmlTxt[htmlTxt.length] = this._ignore;
               i = i + this.getSkipLength(this._ignore);                    
           //处理多行注释结束    
           } else if (!quote_opened&&!slash_slash_comment_opened&&this.isStartWith(this._commentOff,codeArr,i)){                                
               if (slash_star_comment_opened) {
                   slash_star_comment_opened = false;