Browse Source

Update README.md

Eric Zhang 12 years ago
parent
commit
5269cd455f
1 changed files with 2 additions and 2 deletions
  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**
 **Peer**
 
 
-```js
+```html
 <script>
 <script>
   var peer = new Peer('someid', {key: 'apikey'});
   var peer = new Peer('someid', {key: 'apikey'});
   peer.on('connection', function(conn) {
   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**
 **Connecting peer**
 
 
-```js
+```html
 <script>
 <script>
   var peer = new Peer('anotherid', {key: 'apikey'});
   var peer = new Peer('anotherid', {key: 'apikey'});
   var conn = peer.connect('someid');
   var conn = peer.connect('someid');