angular-docs-cn/packages
Benedikt Meurer 9af18c2fd0 perf(core): be more consistent about typeof checks (#28400)
When testing whether `value` is an object, use the ideal sequence of
strictly not equal to `null` followed by `typeof value === 'object'`
consistently. Specifically there's no point in using double equal with
`null` since `undefined` is ruled out by the `typeof` check.

Also avoid the unnecessary ToBoolean check on `value.ngOnDestroy` in
`hasOnDestroy()`, since the `typeof value.ngOnDestroy === 'function'`
will only let closures pass and all closures are truish (with the
notable exception of `document.all`, but that shouldn't be relevant
for the `ngOnDestroy` hook).

PR Close #28400
2019-01-29 11:50:47 -08:00
..
animations build: run offline_compiler_test using bazel (#28191) 2019-01-28 20:07:22 -08:00
bazel test(bazel): Integration test for Sass support (#28297) 2019-01-28 20:01:18 -08:00
benchpress build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
common build: run offline_compiler_test using bazel (#28191) 2019-01-28 20:07:22 -08:00
compiler build: run offline_compiler_test using bazel (#28191) 2019-01-28 20:07:22 -08:00
compiler-cli Revert "feat(compiler-cli): expose ngtsc as a TscPlugin" (#28433) 2019-01-29 11:29:48 -08:00
core perf(core): be more consistent about typeof checks (#28400) 2019-01-29 11:50:47 -08:00
docs refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
elements build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
examples test: disable failing ivy example e2e tests (#28402) 2019-01-28 19:21:09 -08:00
forms build: run offline_compiler_test using bazel (#28191) 2019-01-28 20:07:22 -08:00
http build: run offline_compiler_test using bazel (#28191) 2019-01-28 20:07:22 -08:00
language-service build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
platform-browser build: run offline_compiler_test using bazel (#28191) 2019-01-28 20:07:22 -08:00
platform-browser-dynamic build: run offline_compiler_test using bazel (#28191) 2019-01-28 20:07:22 -08:00
platform-server build: run offline_compiler_test using bazel (#28191) 2019-01-28 20:07:22 -08:00
platform-webworker build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
platform-webworker-dynamic build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
private/testing ci: onlyInIvy tests should not be triggered for FIND_PASSING_TESTS mode (#28036) 2019-01-10 10:55:58 -08:00
router build: run offline_compiler_test using bazel (#28191) 2019-01-28 20:07:22 -08:00
service-worker build: set a default module_name for ts_library rules (#28051) 2019-01-18 10:16:39 -08:00
upgrade test(ivy): @Injectable is required on type providers (#28331) 2019-01-28 12:01:07 -08:00
BUILD.bazel build(bazel): use fine-grained npm deps (#26111) (#26488) 2018-10-19 20:59:29 -07:00
README.md Revert "docs: Remove unneeded file (#18106)" 2017-07-20 16:46:47 -05:00
empty.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
es6-subset.d.ts build: fix our copy of Array#find typing (#27742) 2018-12-19 15:11:52 -05:00
goog.d.ts test(ivy): add bundling test `todo_i18n` (#27420) 2018-12-04 19:59:12 -08:00
license-banner.txt build: bump year (#27880) 2019-01-11 11:15:59 -08:00
rollup.config.js refactor: make all rollup config ES5 compatible (#20028) 2017-10-30 23:09:17 -04:00
system.d.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
tsconfig-build.json build(bazel): Turning on strictPropertyInitialization for Angular. (#24572) 2018-06-25 07:57:13 -07:00
tsconfig-test.json build: refactor ambient node & jasmine types so they are only included where needed (#25491) 2018-08-16 13:46:43 -07:00
tsconfig.json build: switch example e2e tests to bazel (#28402) 2019-01-28 19:21:09 -08:00
types.d.ts build: refactor ambient node & jasmine types so they are only included where needed (#25491) 2018-08-16 13:46:43 -07:00

README.md

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

License: MIT