angular-docs-cn/packages/common/src
Kara Erickson 0de2a5e408 refactor(core): rename ngFactoryDef to ɵfac (#33116)
Factory 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
ngFactoryDef to fac. 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" (ngPipeDef, 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 #33116
2019-10-14 20:27:25 +00:00
..
directives refactor(core): rename ngFactoryDef to ɵfac (#33116) 2019-10-14 20:27:25 +00:00
i18n refactor: utilize type narrowing (#33075) 2019-10-10 15:18:44 -07:00
location perf(core): Make `PlatformLocation` tree-shakable (#32154) 2019-08-29 21:51:56 -07:00
pipes refactor: utilize type narrowing (#33075) 2019-10-10 15:18:44 -07:00
common.ts refactor: Move `dom_adapter.ts` to `@angular/common` (#32154) 2019-08-29 21:51:56 -07:00
common_module.ts docs: common with `@publicApi` tags (#26595) 2018-10-19 14:35:53 -07:00
cookie.ts feat(common): on-by-default XSRF support in HttpClient (#18108) 2017-07-13 17:22:02 -07:00
dom_adapter.ts refactor(core): move Meta methods that only have one version from DomAdapter (#32408) 2019-09-03 11:59:39 -07:00
dom_tokens.ts docs(common): Fixes typo (#33003) 2019-10-10 13:55:40 -07:00
platform_id.ts docs: convert all `@experimental` tags to `@publicApi` tags (#26595) 2018-10-19 14:35:52 -07:00
private_export.ts perf(core): Make `PlatformLocation` tree-shakable (#32154) 2019-08-29 21:51:56 -07:00
version.ts docs: common with `@publicApi` tags (#26595) 2018-10-19 14:35:53 -07:00
viewport_scroller.ts feat(ivy): require 'token' for ngInjectableDef (#30855) 2019-06-11 14:27:16 -07:00