refactor(compiler): remove unnecessary escapes (#42990)
This commit is part of a larger scale change to eliminate unnecessary escapes in string literals, in advance of enabling stricter checks in `ts_library` rules in g3. PR Close #42990
This commit is contained in:
parent
bfd48391d7
commit
d8183c94d4
|
@ -624,7 +624,7 @@ const _shadowDOMSelectorsRe = [
|
|||
// Support for `>>>`, `deep`, `::ng-deep` is then also deprecated and will be removed in the future.
|
||||
// see https://github.com/angular/angular/pull/17677
|
||||
const _shadowDeepSelectors = /(?:>>>)|(?:\/deep\/)|(?:::ng-deep)/g;
|
||||
const _selectorReSuffix = '([>\\s~+\[.,{:][\\s\\S]*)?$';
|
||||
const _selectorReSuffix = '([>\\s~+[.,{:][\\s\\S]*)?$';
|
||||
const _polyfillHostRe = /-shadowcsshost/gim;
|
||||
const _colonHostRe = /:host/gim;
|
||||
const _colonHostContextRe = /:host-context/gim;
|
||||
|
|
|
@ -24,7 +24,7 @@ import {componentFactoryResolverProviderDef, depDef, lifecycleHookToNodeFlag, pr
|
|||
|
||||
const CLASS_ATTR = 'class';
|
||||
const STYLE_ATTR = 'style';
|
||||
const IMPLICIT_TEMPLATE_VAR = '\$implicit';
|
||||
const IMPLICIT_TEMPLATE_VAR = '$implicit';
|
||||
|
||||
export class ViewCompileResult {
|
||||
constructor(public viewClassVar: string, public rendererTypeVar: string) {}
|
||||
|
|
Loading…
Reference in New Issue