Skip to content

Commit

Permalink
update spec header
Browse files Browse the repository at this point in the history
  • Loading branch information
backkem committed Nov 21, 2023
1 parent 642b679 commit b2f12ad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@
[Local Peer-to-Peer](https://WICG.github.io/local-peer-to-peer/) is a Web platform API proposal for local communication between browsers without the aid of a server.

```js
let session = await navigator.lp2p.findPeers();

let peers = await navigator.lp2p.findPeers();
let peer = peers[0];
await peer.connect();
await peer.send("Hello there!");
```

Expand All @@ -21,4 +22,4 @@ This specification is a work in progress.

## Feedback

We welcome feedback [issue tracker](https://github.com/WICG/local-peer-to-peer/issues) of this GitHub repo. [Contributions](CONTRIBUTING.md) are welcome via pull requests too.
We welcome feedback via the [issue tracker](https://github.com/WICG/local-peer-to-peer/issues) of this GitHub repo. [Contributions](CONTRIBUTING.md) are welcome via pull requests too.
6 changes: 3 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ Level: 1
Status: CG-DRAFT
Group: WICG
Repository: WICG/local-peer-to-peer
URL: http://example.com/url-this-spec-will-live-at
URL: https://WICG.github.io/local-peer-to-peer/
Editor: Anssi Kostiainen, Intel https://intel.com, [email protected]
Editor: Belem Zhang, Intel https://intel.com, [email protected]
Editor: Michiel De Backker, Twintag https://twintag.com, [email protected]
Editor: Wei Wang, Intel https://intel.com, [email protected]
!Tests: <a href=https://github.com/w3c/web-platform-tests/tree/master/local-peer-to-peer>web-platform-tests local-peer-to-peer/</a> (<a href=https://github.com/w3c/web-platform-tests/labels/local-peer-to-peer>ongoing work</a>)
Abstract: A short description of your spec, one or two sentences.
Abstract: Local Peer-to-Peer is a Web platform API proposal for local communication between browsers without the aid of a server.
</pre>

Introduction {#intro}
=====================

See https://github.com/tabatkins/bikeshed to get started.
*This section is non-normative.*

0 comments on commit b2f12ad

Please sign in to comment.