angular/packages/core/src/render3
cexbrayat 34aa9c3531 fix(core): remove duplicated EMPTY_ARRAY constant (#40587)
The codebase currently contains several `EMPTY_ARRAY` constants,
and they can end up in the bundle of an application.
A recent commit 6fbe219 tipped us off
as it introduced several `noop` occurrences in the golden symbol files.
After investigating with @petebacondarwin,
we decided to remove the duplicated symbols.

This probably shaves only a few bytes,
but this commit removes the duplicated functions,
by always using the one in `core/src/utils/empty`.

PR Close #40587
2021-01-28 08:55:53 -08:00
..
features fix(core): remove duplicated EMPTY_ARRAY constant (#40587) 2021-01-28 08:55:53 -08:00
i18n docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
instructions fix(core): remove duplicated EMPTY_ARRAY constant (#40587) 2021-01-28 08:55:53 -08:00
interfaces fix(core): improve injector debug information in ngDevMode (#40476) 2021-01-22 10:21:25 -08:00
jit fix(core): remove duplicated EMPTY_ARRAY constant (#40587) 2021-01-28 08:55:53 -08:00
styling docs(core): fix typo (#39041) 2020-09-30 09:32:15 -04:00
util fix(core): not invoking object's toString when rendering to the DOM (#39843) 2020-11-30 15:49:57 -08:00
assert.ts refactor(core): remove expandoStartIndex workaround (#39416) 2020-10-27 10:45:52 -07:00
bindings.ts refactor(core): renames checkNoChangesMode to be clearer (#39277) 2020-10-15 17:01:20 -07:00
CODE_GEN_API.md refactor(ivy): Move instructions back to ɵɵ (#30546) 2019-05-20 16:37:47 -07:00
collect_native_nodes.ts refactor(core): clean up circular dependencies (#39722) 2020-11-18 09:15:29 -08:00
component.ts docs: remove duplicated the (#40434) 2021-01-14 11:33:57 -08:00
component_ref.ts fix(core): remove application from the testability registry when the root view is removed (#39876) 2020-12-02 12:56:04 -08:00
context_discovery.ts fix(core): remove duplicated EMPTY_ARRAY constant (#40587) 2021-01-28 08:55:53 -08:00
definition.ts fix(core): remove duplicated EMPTY_ARRAY constant (#40587) 2021-01-28 08:55:53 -08:00
definition_factory.ts refactor(core): clean up circular dependencies (#39722) 2020-11-18 09:15:29 -08:00
di.ts perf(core): simplify bloom bucket computation (#40489) 2021-01-20 17:02:02 -08:00
di_setup.ts refactor(core): renamed previousOrParent to currentTNode (#38707) 2020-09-28 16:15:59 -04:00
empty.ts fix(core): remove duplicated EMPTY_ARRAY constant (#40587) 2021-01-28 08:55:53 -08:00
error_code.ts refactor(core): add links to top runtime errors (#40326) 2021-01-19 10:14:56 -08:00
errors.ts refactor(core): clean up circular dependencies (#39722) 2020-11-18 09:15:29 -08:00
errors_di.ts refactor(core): clean up circular dependencies (#39722) 2020-11-18 09:15:29 -08:00
fields.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
global_utils_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
hooks.ts fix(core): error if detectChanges is called at the wrong time under specific circumstances (#40206) 2020-12-22 14:52:12 -08:00
index.ts refactor(core): Remove the need for explicit static query instruction (#40091) 2021-01-14 13:55:02 -08:00
metadata.ts refactor(compiler-cli): use ngDevMode guard for setClassMetadata call (#39987) 2020-12-10 13:23:13 -08:00
namespaces.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
ng_module_ref.ts refactor(core): Remove circular dependency on render3 and ng_module (#39621) 2020-11-16 09:12:46 -08:00
node_assert.ts refactor(core): Create TNodeType.Text to display full template in TView debug (#39233) 2020-10-21 18:33:00 -07:00
node_manipulation.ts fix(core): Call onDestroy in production mode as well (#40120) 2020-12-22 08:02:27 -08:00
node_manipulation_i18n.ts refactor(core): clean up circular dependencies (#39722) 2020-11-18 09:15:29 -08:00
node_selector_matcher.ts refactor(core): Change TName.tagName to a more generic value name. (#39233) 2020-10-21 18:33:00 -07:00
PERF_NOTES.md docs: update links to use HTTPS as protocol (#39718) 2020-11-20 12:52:16 -08:00
pipe.ts refactor(core): clean up circular dependencies (#39722) 2020-11-18 09:15:29 -08:00
pure_function.ts fix(core): Store the currently selected ICU in LView (#38345) 2020-08-10 12:41:17 -07:00
query.ts refactor(core): Remove the need for explicit static query instruction (#40091) 2021-01-14 13:55:02 -08:00
state.ts fix(core): Access injected parent values using SelfSkip (#39464) 2020-11-06 09:23:45 -08:00
STATUS.md docs: changes AoT to AOT for consistency (#35112) 2020-02-04 10:43:33 -08:00
STORING_METADATA_IN_D.TS.md refactor(core): rename ngDirectiveDef to ɵdir (#33110) 2019-10-14 16:20:11 +00:00
tokens.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
TREE_SHAKING.md docs(ivy): add feature principle doc (#21565) 2018-01-17 17:01:09 -08:00
VIEW_DATA.md refactor(core): Replace ExpandoInstructions with HostBindingOpCodes (#39301) 2020-10-22 09:35:48 -07:00
view_engine_compatibility_prebound.ts refactor(core): clean up circular dependencies (#39722) 2020-11-18 09:15:29 -08:00
view_ref.ts fix(core): memory leak if view container host view is destroyed while view ref is not (#40219) 2021-01-08 09:45:12 -08:00