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:
@ -83,17 +83,17 @@ export function getBindingsEnabled(): boolean {
|
||||
* Should match component / directive.
|
||||
* </my-comp>
|
||||
* <div ngNonBindable>
|
||||
* <!-- ΔdisableBindings() -->
|
||||
* <!-- ɵɵdisableBindings() -->
|
||||
* <my-comp my-directive>
|
||||
* Should not match component / directive because we are in ngNonBindable.
|
||||
* </my-comp>
|
||||
* <!-- ΔenableBindings() -->
|
||||
* <!-- ɵɵenableBindings() -->
|
||||
* </div>
|
||||
* ```
|
||||
*
|
||||
* @codeGenApi
|
||||
*/
|
||||
export function ΔenableBindings(): void {
|
||||
export function ɵɵenableBindings(): void {
|
||||
bindingsEnabled = true;
|
||||
}
|
||||
|
||||
@ -106,17 +106,17 @@ export function ΔenableBindings(): void {
|
||||
* Should match component / directive.
|
||||
* </my-comp>
|
||||
* <div ngNonBindable>
|
||||
* <!-- ΔdisableBindings() -->
|
||||
* <!-- ɵɵdisableBindings() -->
|
||||
* <my-comp my-directive>
|
||||
* Should not match component / directive because we are in ngNonBindable.
|
||||
* </my-comp>
|
||||
* <!-- ΔenableBindings() -->
|
||||
* <!-- ɵɵenableBindings() -->
|
||||
* </div>
|
||||
* ```
|
||||
*
|
||||
* @codeGenApi
|
||||
*/
|
||||
export function ΔdisableBindings(): void {
|
||||
export function ɵɵdisableBindings(): void {
|
||||
bindingsEnabled = false;
|
||||
}
|
||||
|
||||
@ -291,7 +291,7 @@ export function getActiveDirectiveSuperClassDepth() {
|
||||
*
|
||||
* @codeGenApi
|
||||
*/
|
||||
export function ΔrestoreView(viewToRestore: OpaqueViewState) {
|
||||
export function ɵɵrestoreView(viewToRestore: OpaqueViewState) {
|
||||
contextLView = viewToRestore as any as LView;
|
||||
}
|
||||
|
||||
@ -516,7 +516,7 @@ let _currentNamespace: string|null = null;
|
||||
*
|
||||
* @codeGenApi
|
||||
*/
|
||||
export function ΔnamespaceSVG() {
|
||||
export function ɵɵnamespaceSVG() {
|
||||
_currentNamespace = 'http://www.w3.org/2000/svg';
|
||||
}
|
||||
|
||||
@ -525,7 +525,7 @@ export function ΔnamespaceSVG() {
|
||||
*
|
||||
* @codeGenApi
|
||||
*/
|
||||
export function ΔnamespaceMathML() {
|
||||
export function ɵɵnamespaceMathML() {
|
||||
_currentNamespace = 'http://www.w3.org/1998/MathML/';
|
||||
}
|
||||
|
||||
@ -535,7 +535,7 @@ export function ΔnamespaceMathML() {
|
||||
*
|
||||
* @codeGenApi
|
||||
*/
|
||||
export function ΔnamespaceHTML() {
|
||||
export function ɵɵnamespaceHTML() {
|
||||
_currentNamespace = null;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user