JiaLiPassion
8fbf40bf40
feat(core): update reference and doc to change `async` to `waitAsync`. ( #37583 )
...
The last commit change `async` to `waitForAsync`.
This commit update all usages in the code and also update aio doc.
PR Close #37583
2020-08-03 12:54:13 -07:00
Joey Perrott
d1ea1f4c7f
build: update license headers to reference Google LLC ( #37205 )
...
Update the license headers throughout the repository to reference Google LLC
rather than Google Inc, for the required license headers.
PR Close #37205
2020-05-26 14:26:58 -04:00
Alex Rickabaugh
83a9159063
style(compiler): reformat of codebase with new clang-format version ( #36520 )
...
This commit reformats the packages/compiler tree using the new version of
clang-format.
PR Close #36520
2020-04-08 14:51:08 -07:00
Keen Yee Liau
28fd5ab12b
fix(compiler): Fix compiler crash due to isSkipSelf of null ( #30075 )
...
PR Closes https://github.com/angular/angular/issues/27125
PR Close #30075
2019-04-24 17:06:53 -07:00
Victor Berchet
1d1e75ee2b
Revert "fix(compiler): Pretty print object instead of [Object object] ( #22689 )" ( #23442 )
...
This reverts commit 8555a3a3cd
.
Reverted because of https://github.com/angular/angular/issues/23440
PR Close #23442
2018-04-19 14:51:58 -07:00
Keen Yee Liau
8555a3a3cd
fix(compiler): Pretty print object instead of [Object object] ( #22689 )
...
The 'stringify' function prints an object as [Object object] which
is not very helpful in many cases, especially in a diagnostics
message. This commit changes the behavior to pretty print an object.
PR Close #22689
2018-04-10 13:15:18 -07:00
Misko Hevery
47e251a80a
build: remove `main()` from specs ( #21053 )
...
PR Close #21053
2017-12-22 13:10:51 -08:00
Chuck Jazdzewski
bf22f2df88
fix(compiler): report a reasonable error with invalid metadata ( #20062 )
...
The compiler would throw an internal exception if an import using
the `ngModule` syntax and the module as not a resolvable symbol.
Fixes : #20049
2017-11-06 10:01:27 -08:00
Tobias Bosch
0cc77b4a69
refactor(compiler): split compiler and core ( #18683 )
...
After this, neither @angular/compiler nor @angular/comnpiler-cli depend
on @angular/core.
This add a duplication of some interfaces and enums which is stored
in @angular/compiler/src/core.ts
BREAKING CHANGE:
- `@angular/platform-server` now additionally depends on
`@angular/platform-browser-dynamic` as a peer dependency.
PR Close #18683
2017-08-16 17:58:53 -05:00
Tobias Bosch
50abca4583
refactor(compiler): don’t rely on global reflector ( #16832 )
...
Using the global reflector made it impossible
to compile multiple programs at the same time.
2017-05-23 10:41:23 -06:00
Miško Hevery
5293794316
fix: turn on nullability in the code base.
2017-04-18 12:07:33 -07:00
Miško Hevery
09d9f5fe54
fix(compiler): Update types for TypeScript nullability support
2017-04-10 15:26:33 -06:00
Bowen Ni
3c15916e17
fix(compiler): Improve error message for missing annotations ( #14724 )
...
Currently, it says:
Unexpected value 'FuzzyTimePipe in
javascript/angular2/example/search/fuzzy_time.ts' declared by the module
'SearchModule in javascript/angular2/example/search/search_module.ts'
The new error message also suggests: 'Please add a @Pipe/@Directive/@Component annotation.'
2017-03-14 17:12:18 -07:00
Jason Aden
8573e36574
build: fix file paths after moving modules/@angular/* to packages/*
2017-03-08 16:29:28 -08:00
Jason Aden
3e51a19983
refactor: move angular source to /packages rather than modules/@angular
2017-03-08 16:29:27 -08:00