浏览代码

update docs

afrokick 4 年之前
父节点
当前提交
fe54b3edb1
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 2 2
      docs/index.html
  2. 2 2
      docs/template.html

+ 2 - 2
docs/index.html

@@ -19,9 +19,9 @@
     <h2>Setup</h2>
     <h3>1. Include the Javascript client</h3>
     <p>Add the PeerJS client library to your webpage.</p>
-    <pre>&lt;script src="https://unpkg.com/peerjs@1.3.0/dist/peerjs.min.js"&gt;&lt;/script&gt;</pre>
+    <pre>&lt;script src="https://unpkg.com/peerjs@1.3.1/dist/peerjs.min.js"&gt;&lt;/script&gt;</pre>
     <p>If you prefer, you can host it yourself:
-      <a download href="https://unpkg.com/peerjs@1.3.0/dist/peerjs.min.js">peerjs.min.js</a>, or
+      <a download href="https://unpkg.com/peerjs@1.3.1/dist/peerjs.min.js">peerjs.min.js</a>, or
       <a href="https://github.com/peers/peerjs">fork us on Github</a>.</p>
     <h3>2. Create the Peer object</h3>
     <p>The Peer object is where we create and receive connections.</p>

+ 2 - 2
docs/template.html

@@ -19,9 +19,9 @@
     <h2>Setup</h2>
     <h3>1. Include the Javascript client</h3>
     <p>Add the PeerJS client library to your webpage.</p>
-    <pre>&lt;script src="https://unpkg.com/peerjs@1.3.0/dist/peerjs.min.js"&gt;&lt;/script&gt;</pre>
+    <pre>&lt;script src="https://unpkg.com/peerjs@1.3.1/dist/peerjs.min.js"&gt;&lt;/script&gt;</pre>
     <p>If you prefer, you can host it yourself:
-      <a download href="https://unpkg.com/peerjs@1.3.0/dist/peerjs.min.js">peerjs.min.js</a>, or
+      <a download href="https://unpkg.com/peerjs@1.3.1/dist/peerjs.min.js">peerjs.min.js</a>, or
       <a href="https://github.com/peers/peerjs">fork us on Github</a>.</p>
     <h3>2. Create the Peer object</h3>
     <p>The Peer object is where we create and receive connections.</p>