angular-docs-cn/packages/core/test/render3
Kara Erickson 64fd0d6db9 refactor(core): rename ngComponentDef to ɵcmp (#33088)
Component defs are not considered public API, so the property
that contains them should be prefixed with Angular's marker
for "private" ('ɵ') to discourage apps from relying on def
APIs directly.

This commit adds the prefix and shortens the name from
`ngComponentDef` to `cmp`. This is because property names
cannot be minified by Uglify without turning on property
mangling (which most apps have turned off) and are thus
size-sensitive.

Note that the other "defs" (ngDirectiveDef, etc) will be
prefixed and shortened in follow-up PRs, in an attempt to
limit how large and conflict-y this change is.

PR Close #33088
2019-10-11 15:45:22 -07:00
..
ivy refactor(core): rename ngComponentDef to ɵcmp (#33088) 2019-10-11 15:45:22 -07:00
jit fix(core): require 'static' flag on queries in typings (#30639) 2019-05-24 16:55:00 -04:00
perf perf(ivy): introduce micro-benchmark for directive instantiation (#33082) 2019-10-10 13:56:52 -07:00
styling_next perf(ivy): speed up bindings when no directives are present (#32919) 2019-10-10 13:57:24 -07:00
BUILD.bazel refactor: Move `dom_adapter.ts` to `@angular/common` (#32154) 2019-08-29 21:51:56 -07:00
basic_perf.ts refactor(core): rename ngComponentDef to ɵcmp (#33088) 2019-10-11 15:45:22 -07:00
change_detection_spec.ts refactor(core): rename ngComponentDef to ɵcmp (#33088) 2019-10-11 15:45:22 -07:00
common_with_def.ts refactor(ivy): move directive, component and pipe factories to ngFactoryFn (#31953) 2019-08-27 13:57:00 -07:00
component_ref_spec.ts refactor(core): rename ngComponentDef to ɵcmp (#33088) 2019-10-11 15:45:22 -07:00
component_spec.ts refactor(core): rename ngComponentDef to ɵcmp (#33088) 2019-10-11 15:45:22 -07:00
control_flow_spec.ts refactor(core): rename ngComponentDef to ɵcmp (#33088) 2019-10-11 15:45:22 -07:00
di_spec.ts refactor(core): rename ngComponentDef to ɵcmp (#33088) 2019-10-11 15:45:22 -07:00
domino.d.ts feat(core): Moving Renderer3 into @angular/core (#20855) 2017-12-21 21:40:58 -08:00
global_utils_spec.ts refactor(ivy): remove all old styling code prior to refactor (#31193) 2019-07-23 15:45:32 -07:00
i18n_spec.ts feat(ivy): support `ng-content` in runtime i18n translations (#30782) 2019-06-05 09:04:13 -07:00
imported_renderer2.ts refactor: Move `dom_adapter.ts` to `@angular/common` (#32154) 2019-08-29 21:51:56 -07:00
instructions_spec.ts refactor(core): rename ngComponentDef to ɵcmp (#33088) 2019-10-11 15:45:22 -07:00
integration_spec.ts refactor(core): rename ngComponentDef to ɵcmp (#33088) 2019-10-11 15:45:22 -07:00
jit_environment_spec.ts refactor(ivy): move directive, component and pipe factories to ngFactoryFn (#31953) 2019-08-27 13:57:00 -07:00
lifecycle_spec.ts refactor(core): rename ngComponentDef to ɵcmp (#33088) 2019-10-11 15:45:22 -07:00
listeners_spec.ts refactor(core): rename ngComponentDef to ɵcmp (#33088) 2019-10-11 15:45:22 -07:00
load_domino.ts refactor: Move `dom_adapter.ts` to `@angular/common` (#32154) 2019-08-29 21:51:56 -07:00
metadata_spec.ts build: extract interface and util sub compilation from core (#28028) 2019-01-10 16:31:44 -08:00
node_selector_matcher_spec.ts fix(ivy): match class and attribute value without case-sensitivity (#32548) 2019-09-10 06:31:22 -04:00
outputs_spec.ts refactor(core): rename ngComponentDef to ɵcmp (#33088) 2019-10-11 15:45:22 -07:00
perfCounter_spec.ts build: extract interface and util sub compilation from core (#28028) 2019-01-10 16:31:44 -08:00
pipe_spec.ts perf(ivy): replace select instruction with advance (#32516) 2019-09-10 06:30:28 -04:00
providers_spec.ts refactor(core): rename ngComponentDef to ɵcmp (#33088) 2019-10-11 15:45:22 -07:00
pure_function_spec.ts refactor(core): rename ngComponentDef to ɵcmp (#33088) 2019-10-11 15:45:22 -07:00
query_spec.ts refactor(core): rename ngComponentDef to ɵcmp (#33088) 2019-10-11 15:45:22 -07:00
render_util.ts refactor(core): rename ngComponentDef to ɵcmp (#33088) 2019-10-11 15:45:22 -07:00
renderer_factory_spec.ts refactor(core): rename ngComponentDef to ɵcmp (#33088) 2019-10-11 15:45:22 -07:00
testing_spec.ts refactor(core): remove withBody from public testing API (#25171) 2018-07-31 15:09:32 -07:00
view_container_ref_spec.ts refactor(core): rename ngComponentDef to ɵcmp (#33088) 2019-10-11 15:45:22 -07:00
view_utils_spec.ts perf(ivy): move attributes array into component def (#32798) 2019-10-09 13:16:55 -07:00