Przeglądaj źródła

Update README.md

Eric Zhang 12 lat temu
rodzic
commit
5269cd455f
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      README.md

+ 2 - 2
README.md

@@ -12,7 +12,7 @@ Each peer simply provides a identifier with which other peers using the same API
 
 **Peer**
 
-```js
+```html
 <script>
   var peer = new Peer('someid', {key: 'apikey'});
   peer.on('connection', function(conn) {
@@ -26,7 +26,7 @@ Each peer simply provides a identifier with which other peers using the same API
 
 **Connecting peer**
 
-```js
+```html
 <script>
   var peer = new Peer('anotherid', {key: 'apikey'});
   var conn = peer.connect('someid');