瀏覽代碼

Removed isConditionalComment method

sanex3339 4 年之前
父節點
當前提交
731d7658ac

文件差異過大導致無法顯示
+ 0 - 0
dist/index.browser.js


文件差異過大導致無法顯示
+ 0 - 0
dist/index.cli.js


文件差異過大導致無法顯示
+ 0 - 0
dist/index.js


+ 0 - 9
src/node-transformers/preparing-transformers/obfuscating-guards/ConditionalCommentObfuscatingGuard.ts

@@ -23,15 +23,6 @@ export class ConditionalCommentObfuscatingGuard implements IObfuscatingGuard {
      */
     private obfuscationAllowed: boolean = true;
 
-    /**
-     * @param {Comment} comment
-     * @returns {boolean}
-     */
-    public static isConditionalComment (comment: ESTree.Comment): boolean {
-        return ConditionalCommentObfuscatingGuard.obfuscationEnableCommentRegExp.test(comment.value) ||
-            ConditionalCommentObfuscatingGuard.obfuscationDisableCommentRegExp.test(comment.value);
-    }
-
     /**
      * @returns {boolean}
      * @param node

部分文件因文件數量過多而無法顯示