"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/core/src/render3/i18n/i18n_apply.ts" between
angular-11.0.1.tar.gz and angular-11.0.2.tar.gz

About: Angular is a development platform for building mobile and desktop web applications using Typescript/JavaScript.

i18n_apply.ts  (angular-11.0.1):i18n_apply.ts  (angular-11.0.2)
skipping to change at line 16 skipping to change at line 16
* found in the LICENSE file at https://angular.io/license * found in the LICENSE file at https://angular.io/license
*/ */
import {getPluralCase} from '../../i18n/localization'; import {getPluralCase} from '../../i18n/localization';
import {assertDefined, assertDomNode, assertEqual, assertGreaterThan, assertInde xInRange, throwError} from '../../util/assert'; import {assertDefined, assertDomNode, assertEqual, assertGreaterThan, assertInde xInRange, throwError} from '../../util/assert';
import {assertIndexInExpandoRange, assertTIcu} from '../assert'; import {assertIndexInExpandoRange, assertTIcu} from '../assert';
import {attachPatchData} from '../context_discovery'; import {attachPatchData} from '../context_discovery';
import {elementPropertyInternal, setElementAttribute} from '../instructions/shar ed'; import {elementPropertyInternal, setElementAttribute} from '../instructions/shar ed';
import {ELEMENT_MARKER, I18nCreateOpCode, I18nCreateOpCodes, I18nUpdateOpCode, I 18nUpdateOpCodes, ICU_MARKER, IcuCreateOpCode, IcuCreateOpCodes, IcuType, TI18n, TIcu} from '../interfaces/i18n'; import {ELEMENT_MARKER, I18nCreateOpCode, I18nCreateOpCodes, I18nUpdateOpCode, I 18nUpdateOpCodes, ICU_MARKER, IcuCreateOpCode, IcuCreateOpCodes, IcuType, TI18n, TIcu} from '../interfaces/i18n';
import {TNode} from '../interfaces/node'; import {TNode} from '../interfaces/node';
import {RElement, RNode, RText} from '../interfaces/renderer'; import {RElement, RNode, RText} from '../interfaces/renderer_dom';
import {SanitizerFn} from '../interfaces/sanitization'; import {SanitizerFn} from '../interfaces/sanitization';
import {HEADER_OFFSET, LView, RENDERER, TView} from '../interfaces/view'; import {HEADER_OFFSET, LView, RENDERER, TView} from '../interfaces/view';
import {createCommentNode, createElementNode, createTextNode, nativeInsertBefore , nativeParentNode, nativeRemoveNode, updateTextNode} from '../node_manipulation '; import {createCommentNode, createElementNode, createTextNode, nativeInsertBefore , nativeParentNode, nativeRemoveNode, updateTextNode} from '../node_manipulation ';
import {getBindingIndex} from '../state'; import {getBindingIndex} from '../state';
import {renderStringify} from '../util/misc_utils'; import {renderStringify} from '../util/stringify_utils';
import {getNativeByIndex, unwrapRNode} from '../util/view_utils'; import {getNativeByIndex, unwrapRNode} from '../util/view_utils';
import {getLocaleId} from './i18n_locale_id'; import {getLocaleId} from './i18n_locale_id';
import {getCurrentICUCaseIndex, getParentFromIcuCreateOpCode, getRefFromIcuCreat eOpCode, getTIcu} from './i18n_util'; import {getCurrentICUCaseIndex, getParentFromIcuCreateOpCode, getRefFromIcuCreat eOpCode, getTIcu} from './i18n_util';
/** /**
* Keep track of which input bindings in `ɵɵi18nExp` have changed. * Keep track of which input bindings in `ɵɵi18nExp` have changed.
* *
* This is used to efficiently update expressions in i18n only when the correspo nding input has * This is used to efficiently update expressions in i18n only when the correspo nding input has
* changed. * changed.
* *
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)