angular-cn/tools/public_api_guard
Kara Erickson 1a67d70bf8 refactor(core): rename ngDirectiveDef to ɵdir ()
Directive 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
ngDirectiveDef to dir. 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" (ngFactoryDef, 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 
2019-10-14 16:20:11 +00:00
..
animations
common refactor(core): rename ngDirectiveDef to ɵdir () 2019-10-14 16:20:11 +00:00
core perf(ivy): move attributes array into component def () 2019-10-09 13:16:55 -07:00
elements
forms refactor(forms): remove ngForm element selector () 2019-10-11 15:43:56 -07:00
http
localize fix(ivy): i18n - use `MessageId` for matching translations () 2019-09-17 09:17:44 -07:00
platform-browser feat(ivy): make Hammer support tree-shakable () 2019-08-21 11:43:51 -07:00
platform-browser-dynamic
platform-server
platform-webworker perf(core): Make `PlatformLocation` tree-shakable () 2019-08-29 21:51:56 -07:00
platform-webworker-dynamic feat(platform-webworker): deprecate platform-webworker () 2019-05-23 15:09:48 -07:00
router docs(router): make `InitialNavigation` part of the public API () 2019-09-27 14:21:13 -07:00
service-worker feat(service-worker): remove deprecated `versionedFiles` option () 2019-10-02 09:30:59 -07:00
upgrade feat(upgrade): provide unit test helpers for wiring up injectors () 2019-06-20 17:04:01 -07:00
BUILD.bazel refactor(upgrade): use Bazel packages to avoid symlinks in the source () 2019-04-02 10:38:01 -07:00
global_utils.d.ts feat(ivy): expose `window.ng.getDebugNode` helper () 2019-09-17 15:46:07 -07:00
public_api_guard.bzl