|
@@ -23,15 +23,6 @@ export class ConditionalCommentObfuscatingGuard implements IObfuscatingGuard {
|
|
*/
|
|
*/
|
|
private obfuscationAllowed: boolean = true;
|
|
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}
|
|
* @returns {boolean}
|
|
* @param node
|
|
* @param node
|