64fd0d6db9
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 |
||
---|---|---|
.. | ||
dont_pick_up_inner_symbols.js | ||
dont_pick_up_inner_symbols.json | ||
drop_trailing_suffix.js | ||
drop_trailing_suffix.json | ||
empty.js | ||
empty.json | ||
empty_iife.js | ||
empty_iife.json | ||
hello_world_min_debug.js | ||
hello_world_min_debug.json | ||
iife_with_export.js | ||
iife_with_export.json | ||
simple.js | ||
simple.json | ||
two_symbols_per_var.js | ||
two_symbols_per_var.json | ||
var_list.js | ||
var_list.json |