()
| 35 | * @publicApi |
| 36 | */ |
| 37 | export function provideNgReflectAttributes(): EnvironmentProviders { |
| 38 | const providers = |
| 39 | typeof ngDevMode === 'undefined' || ngDevMode |
| 40 | ? [ |
| 41 | { |
| 42 | provide: NG_REFLECT_ATTRS_FLAG, |
| 43 | useValue: true, |
| 44 | }, |
| 45 | ] |
| 46 | : []; |
| 47 | return makeEnvironmentProviders(providers); |
| 48 | } |
| 49 | |
| 50 | export function normalizeDebugBindingName(name: string) { |
| 51 | // Attribute names with `$` (eg `x-y$`) are valid per spec, but unsupported by some browsers |
no test coverage detected
searching dependent graphs…