Joey Perrott
698b0288be
build: reformat repo to new [email protected] ( #36613 )
...
PR Close #36613
2020-04-14 12:08:36 -07:00
Martin Probst
37bb90140c
refactor(platform-browser): avoid mutable exports. ( #34207 )
...
Previously, browser_util would export a mutable `let` binding that was
initialized as a side-effect of `BrowserDetection.setup()`. This change
refactors the mutable binding into a `const` binding that is immediately
initialized in its initialized.
This is functionally equivalent, but makes it easier for module
optimizers such as Closure Compiler to track down side effects and prune
modules. It is also arguably cleaner to read (no worries about later
changes to the apparently mutable but effectively const binding).
PR Close #34207
2019-12-05 10:19:12 -08:00
Judy Bogart
87994d2c03
docs: add api doc to sub-packages ( #33801 )
...
PR Close #33801
2019-11-20 14:48:50 -08:00
JiaLiPassion
44623a1161
feat: add a flag in bootstrap to enable coalesce event change detection to improve performance ( #30533 )
...
PR Close #30533
2019-11-05 18:58:25 +00:00
Matias Niemelä
082aed6e46
revert: feat: add a flag in bootstrap to enable coalesce event change detection to improve performance ( #30533 ) ( #33230 )
...
This reverts commit 21c1e14385 .
PR Close #33230
2019-10-17 12:50:04 -04:00
JiaLiPassion
21c1e14385
feat: add a flag in bootstrap to enable coalesce event change detection to improve performance ( #30533 )
...
PR Close #30533
2019-10-16 14:38:36 -04:00
Misko Hevery
8a47b48912
refactor: Move dom_adapter.ts to @angular/common ( #32154 )
...
This work is needed in preparation for turning tokens into tree-shakable injectables.
PR Close #32154
2019-08-29 21:51:56 -07:00
Kara Erickson
f3e4cb491e
refactor(core): remove testing-only event utilities from DomAdapters ( #32291 )
...
PR Close #32291
2019-08-28 17:10:30 -07:00
Kara Erickson
c0680602f9
refactor(core): remove testing-only childNodes() and firstChild() fns from DomAdapters ( #32291 )
...
PR Close #32291
2019-08-28 17:10:30 -07:00
Kara Erickson
30dabdf8fc
refactor(core): remove testing-only DOM manipulation utils from DomAdapters ( #32291 )
...
PR Close #32291
2019-08-28 17:10:30 -07:00
Kara Erickson
ede5786d1e
refactor(core): remove testing-only style utils from DomAdapters ( #32291 )
...
PR Close #32291
2019-08-28 17:10:29 -07:00
Kara Erickson
cf4b944865
refactor(core): remove misc dom utils from DomAdapters ( #32278 )
...
PR Close #32278
2019-08-26 10:39:09 -07:00
Kara Erickson
28c8b03797
refactor(core): remove shadow dom utility from DomAdapters ( #32278 )
...
PR Close #32278
2019-08-26 10:39:09 -07:00
Kara Erickson
bceeeba405
refactor(core): remove animation utilities from DomAdapters ( #32278 )
...
PR Close #32278
2019-08-26 10:39:09 -07:00
Kara Erickson
7bcd42e7be
refactor(core): remove cookie and comment testing utilities from DomAdapters ( #32278 )
...
PR Close #32278
2019-08-26 10:39:09 -07:00
Kara Erickson
4908a5cffc
refactor(core): remove unused attribute utilities from DomAdapters ( #32278 )
...
PR Close #32278
2019-08-26 10:39:09 -07:00
Alex Eagle
337b6fe003
build: remove unreferenced tsconfig-build.json files ( #30858 )
...
These are no longer needed since Bazel generates a tsconfig for each compilation
PR Close #30858
2019-06-05 09:03:36 -07:00
Ben Lesh
e5201f92fc
refactor(platform-browser): rename _singleTagWhitelist ( #29592 )
...
PR Close #29592
2019-04-02 10:37:29 -07:00
Alan
9a1959269f
build: remove now redundant bundle_dts = True attribute ( #29128 )
...
This is now turned on by default in the ng_module macro
PR Close #29128
2019-03-07 10:47:20 -08:00
Greg Magolan
ea09430039
build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles ( #28871 )
...
PR Close #28871
2019-02-28 12:06:36 -08:00
Wassim Chegham
ce68b4d839
style: enforce buildifier lint on CI ( #28186 )
...
PR Close #28186
2019-02-26 16:57:41 -08:00
Alan Agius
fd4e1d69ee
build: enable bundle_dts for a number of packages ( #28726 )
...
This change enables dts bundling for the following packages and their secondary entry points:
- @angular/animations
- @angular/elements
- @angular/http
- @angular/platform-browser
- @angular/platform-browser-dynamic
- @angular/platform-server
- @angular/platform-webworker
- @angular/platform-webworker-dynamic
- @angular/servce-worker
Dts bundling happens in `ng_module` bazel definition, hence packages such as `@angular/compiler`, `@angular/compiler-cli` and `@angular/langauge service` cannot be flattened as they use `ts_library`.
`@angular/core`, `@angular/common`, `@angular/upgrade` and `@angular/forms` will be done seperatly as it requires some changes either to their source or specs.
PR Close #28726
2019-02-19 16:30:38 -08:00
Greg Magolan
25aae64274
build(bazel): do not build rxjs from source under Bazel ( #28720 )
...
PR Close #28720
2019-02-19 16:28:14 -08:00
Paul Gschwendtner
7cbc36fdac
build: remove unused rollup.config.js files ( #28646 )
...
Since we build and publish the individual packages
using Bazel and `build.sh` has been removed, we can
safely remove the `rollup.config.js` files which are no
longer needed because the `ng_package` bazel rule
automatically handles the rollup settings and globals.
PR Close #28646
2019-02-14 19:28:08 +00:00
Alex Eagle
38343a2388
build: set a default module_name for ts_library rules ( #28051 )
...
PR Close #28051
2019-01-18 10:16:39 -08:00
Huáng Jùnliàng
dde1d67232
test(platform-browser): add supportsRegExUnicodeFlag method ( #20819 )
...
PR Close #20819
2018-11-29 21:19:37 -08:00
Greg Magolan
1f3331f5e6
build(bazel): use fine-grained npm deps ( #26111 ) ( #26488 )
...
PR Close #26488
2018-10-19 20:59:29 -07:00
Pete Bacon Darwin
0bae97a726
docs: update platform-browser with @publicApi tags ( #26595 )
...
PR Close #26595
2018-10-19 14:35:52 -07:00
Pete Bacon Darwin
fc4b993d98
docs(platform-browser): move examples to @usageNotes ( #26039 )
...
PR Close #26039
2018-09-24 09:11:02 -07:00
Daniel Wiehl
8dc2b119fb
fix(router): mount correct component if router outlet was not instantiated and if using a route reuse strategy ( #25313 ) ( #25314 )
...
This unsets 'attachRef' on outlet context if no route is to be reused in route activation.
Closes #25313
PR Close #25314
2018-09-11 16:26:42 -07:00