Преглед изворни кода

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

Неке датотеке нису приказане због велике количине промена