angular/packages/platform-browser
Martin Probst 8fca9b6530 refactor(platform-browser): avoid mutable exports. (#34207) (#34960)
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

PR Close #34960
2020-01-24 15:55:11 -08:00
..
animations test: setup circular dependency tests for all entry points (#34774) 2020-01-23 11:36:41 -08:00
src fix(ivy): ensure eventListeners added outside angular context are not called... (#34514) 2020-01-22 15:38:14 -08:00
test test: setup circular dependency tests for all entry points (#34774) 2020-01-23 11:36:41 -08:00
testing refactor(platform-browser): avoid mutable exports. (#34207) (#34960) 2020-01-24 15:55:11 -08:00
BUILD.bazel build: reference zone.js from source directly instead of npm. (#33046) 2019-11-06 00:48:34 +00:00
index.ts refactor: move angular source to /packages rather than modules/@angular 2017-03-08 16:29:27 -08:00
package.json build: set up all packages to publish via wombot proxy (#33747) 2019-11-13 11:34:33 -08:00
PACKAGE.md docs: add platform to glossary (#30731) 2019-06-12 11:46:25 -07:00
public_api.ts build: publish tree of files rather than FESMs (#18541) 2017-08-31 15:34:50 -07:00