refactor(ivy): Move instructions back to ɵɵ (#30546)
There is an encoding issue with using delta `Δ`, where the browser will attempt to detect the file encoding if the character set is not explicitly declared on a `<script/>` tag, and Chrome will find the `Δ` character and decide it is window-1252 encoding, which misinterprets the `Δ` character to be some other character that is not a valid JS identifier character So back to the frog eyes we go. ``` __ /ɵɵ\ ( -- ) - I am ineffable. I am forever. _/ \_ / \ / \ == == == ``` PR Close #30546
This commit is contained in:
@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
import {DOCUMENT} from '@angular/common';
|
||||
import {Inject, Injectable, Δinject} from '@angular/core';
|
||||
import {Inject, Injectable, ɵɵinject} from '@angular/core';
|
||||
|
||||
import {DomAdapter, getDOM} from '../dom/dom_adapter';
|
||||
|
||||
@ -34,7 +34,7 @@ export type MetaDefinition = {
|
||||
* Factory to create Meta service.
|
||||
*/
|
||||
export function createMeta() {
|
||||
return new Meta(Δinject(DOCUMENT));
|
||||
return new Meta(ɵɵinject(DOCUMENT));
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -7,7 +7,7 @@
|
||||
*/
|
||||
|
||||
import {DOCUMENT} from '@angular/common';
|
||||
import {Inject, Injectable, Δinject} from '@angular/core';
|
||||
import {Inject, Injectable, ɵɵinject} from '@angular/core';
|
||||
|
||||
import {getDOM} from '../dom/dom_adapter';
|
||||
|
||||
@ -15,7 +15,7 @@ import {getDOM} from '../dom/dom_adapter';
|
||||
* Factory to create Title service.
|
||||
*/
|
||||
export function createTitle() {
|
||||
return new Title(Δinject(DOCUMENT));
|
||||
return new Title(ɵɵinject(DOCUMENT));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user