Go to file
Alex Rickabaugh 3fbcde9048 fix(service-worker): send initialization signal from the application
The Service Worker contains a mechanism by which it will postMessage
itself a signal to initialize its caches. Through this mechanism,
initialization happens asynchronously while keeping the SW process
alive.

Unfortunately in Firefox, the SW does not have the ability to
postMessage itself during the activation event. This prevents the
above mechanism from working, and the SW initializes on the next
fetch event, which is often too late.

Therefore, this change has the application wait for SW changes and
tells each new SW to initialize itself. This happens in addition to
the self-signal that the SW attempts to send (as self-signaling is
more reliable). That way even on browsers such as Firefox,
initialization happens eagerly.
2017-12-01 14:21:07 -08:00
.circleci build: fix `yarn install` command (`--freeze-lockfile` --> `--frozen-lockfile`) 2017-10-20 10:14:30 -07:00
.github docs: does please -> does (#18044) 2017-07-11 11:46:57 -07:00
aio revert: docs(aio): add service worker guide content and update nav (#20021) (#20716) 2017-11-30 09:53:07 -08:00
docs docs: update the triaging doc with the latest process (#20128) 2017-11-20 18:39:36 -06:00
integration feat(platform-browser-dynamic): export `JitCompilerFactory` (#20478) 2017-11-22 08:56:11 -06:00
modules refactor(core): add a checkIndex to the compiler view nodes 2017-10-04 14:55:54 -07:00
packages fix(service-worker): send initialization signal from the application 2017-12-01 14:21:07 -08:00
scripts ci: Update 1% payload size test (#20524) 2017-11-21 22:28:28 -06:00
tools fix(service-worker): don't crash if SW not supported 2017-12-01 14:18:16 -08:00
.bowerrc chore(dgeni): clean up legacy typings bundle creation 2015-10-29 21:19:59 +00:00
.clang-format feat(tooling): Add a .clang-format for automated JavaScript formatting. 2015-04-02 08:44:34 -07:00
.editorconfig chore(.editorconfig): include markdown config 2015-01-27 00:14:48 -08:00
.gitattributes chore: force lf EOL for ts files (#11143) 2016-08-29 12:41:58 -07:00
.gitignore build(common): extract i18n locale data from cldr (#18284) 2017-08-22 15:43:04 -05:00
.mailmap build: add a Git .mailmap with my new name (#19550) 2017-10-09 14:35:30 -07:00
.nvmrc ci: bump node version to 6.9.5 and npm to 3.10.7 2017-02-02 23:28:00 -08:00
.pullapprove.yml ci: update pullapprove (#20540) 2017-11-21 11:49:52 -06:00
.travis.yml ci(aio): move e2e tests to optional job (#20178) 2017-11-06 09:59:59 -08:00
BUILD.bazel fix(compiler): add first bazel test for `ng_module` (#19703) 2017-10-17 15:18:31 -07:00
CHANGELOG.md docs: add changelog for 5.1.0-rc.0 2017-11-30 21:38:52 -08:00
CONTRIBUTING.md docs(aio): Add instructions to fork angular/angular (#20462) 2017-11-15 18:26:27 -06:00
LICENSE style(docs): update copyright years (#13736) 2017-01-27 20:47:14 -08:00
README.md docs: add BrowserStack badge to README.md (#19314) 2017-09-22 13:09:18 -07:00
WORKSPACE build: Upgrade to TypeScript 2.5 (#20175) 2017-11-15 18:12:16 -06:00
bower.json docs: branding fixes (#14132) 2017-01-27 15:03:11 -06:00
browser-providers.conf.js build: remove required BrowserStack run as it fails with “Access denied” (#19769) 2017-10-17 15:51:40 -07:00
build.sh revert: feat(elements): implement `@angular/elements` #19469 (#20152) 2017-11-03 15:54:54 -07:00
gulpfile.js test(packaging): added test for source map correctness 2017-09-12 16:59:32 -04:00
karma-js.conf.js revert: feat(elements): implement `@angular/elements` #19469 (#20152) 2017-11-03 15:54:54 -07:00
package.json release: cut the 5.1.0-rc.0 release 2017-11-30 21:37:42 -08:00
protractor-e2e.conf.js refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
protractor-examples-e2e.conf.js refactor: format and lint code 2016-12-12 11:30:25 -08:00
protractor-perf.conf.js refactor: add license header to JS files & format files (#12081) 2016-10-04 20:39:20 -07:00
shims_for_IE.js Revert "refactor: add license header to JS files & format files (#12035)" 2016-10-04 14:06:41 -07:00
test-events.js fix(platform-browser): run BLACK_LISTED_EVENTS outside of ngZone (#18993) 2017-09-05 15:33:22 -05:00
test-main.js revert: feat(elements): implement `@angular/elements` #19469 (#20152) 2017-11-03 15:54:54 -07:00
test.sh build: remove references to `tsc-wrapped` (#19298) 2017-09-21 13:55:52 -07:00
tslint.json build: add lint rule for global flags in rollup config (#20028) 2017-10-30 23:09:16 -04:00
yarn.lock fix(bazel): produce named AMD modules for codegen (#20547) 2017-11-27 13:44:41 -06:00
yarn.lock.readme.md build: switch from npm to yarn (#19328) 2017-09-22 13:20:52 -07:00

README.md

Build Status CircleCI BrowserStack Status Join the chat at https://gitter.im/angular/angular Issue Stats Issue Stats npm version

Sauce Test Status

Safari (7+), iOS (7+) and IE mobile (11) are tested on BrowserStack.

Angular

Angular is a development platform for building mobile and desktop web applications using Typescript/JavaScript and other languages.

Quickstart

Get started in 5 minutes.

Want to help?

Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.