angular-docs-cn/modules
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
..
angular1_router build: update npm dependencies (#19328) 2017-09-22 13:20:52 -07:00
benchmarks refactor(core): rename ngComponentDef to ɵcmp (#33088) 2019-10-11 15:45:22 -07:00
benchmarks_external test: remove bower and polymer benchmarks (#27931) 2019-01-04 12:02:22 -08:00
e2e_util build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871) 2019-02-28 12:06:36 -08:00
payload_tests/hello_world/ts docs: branding fixes (#14132) 2017-01-27 15:03:11 -06:00
playground ci: add assets to ng_module in playground todo (#32678) 2019-09-16 15:35:37 -07:00
empty.ts refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
system.d.ts refactor: update paths from modules/@angular to packages 2017-03-08 16:29:28 -08:00
tsconfig.json build: convert largeform benchmarks to bazel (#28645) 2019-02-13 12:15:01 -08:00
types.d.ts build: switch to typescript's es2015 typings (#28570) 2019-02-06 14:17:55 -05:00