Skip to content

Commit

Permalink
Add 'useCache' to the service worker registration options.
Browse files Browse the repository at this point in the history
See w3c/ServiceWorker#893 (comment)

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=141919403
  • Loading branch information
yossik authored and alexeykomov committed Feb 8, 2017
1 parent 8b1ceb3 commit 09f52c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion externs/browser/w3c_serviceworker.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ ServiceWorkerContainer.prototype.oncontrollerchange;
ServiceWorkerContainer.prototype.onerror;

/**
* @typedef {{scope: string}}
* @typedef {{scope: (string|undefined), useCache: (boolean|undefined)}}
*/
var RegistrationOptions;

Expand Down
2 changes: 1 addition & 1 deletion src/com/google/javascript/jscomp/resources.json

Large diffs are not rendered by default.

0 comments on commit 09f52c3

Please sign in to comment.