Skip to content

Commit

Permalink
Update README to match spec changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rayankans committed Sep 11, 2019
1 parent 5fb51a6 commit 2602e2d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions IDL.md
Expand Up @@ -37,13 +37,13 @@ partial interface ServiceWorkerRegistration {
## Additions to the Service Worker Global Scope
``webidl
dictionary ContentIndexEventInit : ExtendableEventInit {
required ContentDescription description;
required DOMString id;
};

[
Constructor(DOMString type, ContentIndexEventInit init),
] interface ContentIndexEvent : ExtendableEvent {
readonly attribute ContentDescription description;
readonly attribute DOMString id;
};

partial interface ServiceWorkerGlobalScope {
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -96,7 +96,7 @@ await swRegistration.index.add({
await swRegistration.index.delete('article-123');

// List all entries in the content index
const entries = await swRegistration.index.getDescriptions();
const entries = await swRegistration.index.getAll();
```

### Combined with other APIs
Expand Down
2 changes: 1 addition & 1 deletion spec/index.html
Expand Up @@ -1215,7 +1215,7 @@
<link href="https://www.w3.org/StyleSheets/TR/2016/W3C-ED" rel="stylesheet">
<meta content="Bikeshed version cb5a17652cb33dffd20b8b6a876bb811c1f749a9" name="generator">
<link href="https://rayankans.github.io/content-index/spec/" rel="canonical">
<meta content="8705ce3548d4f0e5703a0619adb1d62a5f27212e" name="document-revision">
<meta content="5fb51a614ddc345fb4b2636af5043422ba5247f8" name="document-revision">
<style>
.algorithm dl {
overflow: hidden;
Expand Down

0 comments on commit 2602e2d

Please sign in to comment.