1
1
# YOU MUST HAVE A PUBNUB ACCOUNT TO USE THE API.
2
2
Create an account at http://www.pubnub.com/account
3
3
4
- ## The PubNub Network JavaScript Real-time SDK v3.5.43
4
+ ## The PubNub Network JavaScript Real-time SDK v3.5.47
5
5
http://www.pubnub.com - PubNub Real-time Push Service in the Cloud.
6
6
7
7
The PubNub Network is a blazingly fast Global Messaging Service for building
@@ -16,7 +16,7 @@ business collaborative solutions, and more.
16
16
You may access the latest PubNub JavaScript SDK on The PubNub Network CDN.
17
17
18
18
``` html
19
- <script src =http://cdn.pubnub.com/pubnub-3.5.43 .min.js ></script >
19
+ <script src =http://cdn.pubnub.com/pubnub-3.5.47 .min.js ></script >
20
20
<script >(function (){
21
21
var pubnub = PUBNUB .init ({
22
22
publish_key : ' demo' ,
@@ -34,7 +34,7 @@ and for security considerations,
34
34
use this following method for initialization:
35
35
36
36
``` html
37
- <script src =http://cdn.pubnub.com/pubnub-3.5.43 .min.js ></script >
37
+ <script src =http://cdn.pubnub.com/pubnub-3.5.47 .min.js ></script >
38
38
<script >(function (){
39
39
40
40
var pubnub = PUBNUB .init ({ subscribe_key : ' demo' });
@@ -47,7 +47,7 @@ use this following method for initialization:
47
47
> ** NOTE:** Copy and paste this example into a * blank* HTML file or visit http://jsfiddle.net/geremy/SqamR/ to demo
48
48
49
49
``` html
50
- <script src =http://cdn.pubnub.com/pubnub-3.5.43 .min.js ></script >
50
+ <script src =http://cdn.pubnub.com/pubnub-3.5.47 .min.js ></script >
51
51
<script >(function (){
52
52
53
53
// Init
@@ -177,7 +177,7 @@ JavaScript SDK using the **web** build. It's as easy as `copy/paste`.
177
177
## ADVANCED SUBSCRIBE CONNECTIVITY OPTIONS/CALLBACKS
178
178
``` html
179
179
<div id =pubnub pub-key =demo sub-key =demo ></div >
180
- <script src =http://cdn.pubnub.com/pubnub-3.5.43 .min.js ></script >
180
+ <script src =http://cdn.pubnub.com/pubnub-3.5.47 .min.js ></script >
181
181
<script >(function (){
182
182
PUBNUB .subscribe ({
183
183
channel : " hello_world" , // CONNECT TO THIS CHANNEL.
@@ -225,7 +225,7 @@ when **receiving messages**.
225
225
226
226
``` html
227
227
<div id =pubnub pub-key =demo sub-key =demo ></div >
228
- <script src =http://cdn.pubnub.com/pubnub-3.5.43 .min.js ></script >
228
+ <script src =http://cdn.pubnub.com/pubnub-3.5.47 .min.js ></script >
229
229
<script >(function (){
230
230
PUBNUB .subscribe ({
231
231
channel : " hello_world" , // CONNECT TO THIS CHANNEL.
@@ -339,8 +339,8 @@ are open source, you’re welcome to see how we did it).
339
339
To use AES encryption in PubNub, simply do the following:
340
340
341
341
``` html
342
- <script src =https://pubnub.a.ssl.fastly.net/pubnub-3.5.43 .min.js ></script >
343
- <script src =https://pubnub.a.ssl.fastly.net/pubnub-crypto-3.5.43 .min.js ></script >
342
+ <script src =https://pubnub.a.ssl.fastly.net/pubnub-3.5.47 .min.js ></script >
343
+ <script src =https://pubnub.a.ssl.fastly.net/pubnub-crypto-3.5.47 .min.js ></script >
344
344
<script >(function (){
345
345
var secure_pubnub = PUBNUB .secure ({
346
346
publish_key : ' demo' ,
@@ -407,7 +407,7 @@ http://jsfiddle.net/geremy/8e6Cr/
407
407
## SSL MODE
408
408
``` html
409
409
<div id =pubnub ssl =on ></div >
410
- <script src =https://pubnub.a.ssl.fastly.net/pubnub-3.5.43 .min.js ></script >
410
+ <script src =https://pubnub.a.ssl.fastly.net/pubnub-3.5.47 .min.js ></script >
411
411
<script >(function (){
412
412
413
413
var pubnub = PUBNUB .init ({
@@ -544,7 +544,7 @@ http://pubsub.pubnub.com/v2/history/sub-key/demo/channel/storage_test?start=1340
544
544
## HISTORY
545
545
``` html
546
546
<div id =pubnub ></div >
547
- <script src =http://pubnub.a.ssl.fastly.net/pubnub-3.5.43 .min.js ></script >
547
+ <script src =http://pubnub.a.ssl.fastly.net/pubnub-3.5.47 .min.js ></script >
548
548
<script >(function (){
549
549
550
550
var pubnub = PUBNUB .init ({
@@ -573,7 +573,7 @@ the timeline as they occured.
573
573
574
574
``` html
575
575
<div id =pubnub ></div >
576
- <script src =http://pubnub.a.ssl.fastly.net/pubnub-3.5.43 .min.js ></script >
576
+ <script src =http://pubnub.a.ssl.fastly.net/pubnub-3.5.47 .min.js ></script >
577
577
<script >(function (){
578
578
579
579
/* GENERATE CHANNEL */
@@ -610,7 +610,7 @@ and get back an answer with list of users and the occupancy count.
610
610
611
611
``` html
612
612
<div id =pubnub pub-key =demo sub-key =demo ></div >
613
- <script src =http://cdn.pubnub.com/pubnub-3.5.43 .min.js ></script >
613
+ <script src =http://cdn.pubnub.com/pubnub-3.5.47 .min.js ></script >
614
614
<script >(function (){
615
615
PUBNUB .subscribe ({
616
616
channel : " hello_world" , // CONNECT TO THIS CHANNEL.
@@ -652,7 +652,7 @@ the `pubnub.subscribe` call below.
652
652
653
653
``` html
654
654
<div id =pubnub ></div >
655
- <script src =http://pubnub.a.ssl.fastly.net/pubnub-3.5.43 .min.js ></script >
655
+ <script src =http://pubnub.a.ssl.fastly.net/pubnub-3.5.47 .min.js ></script >
656
656
<script >(function (){
657
657
658
658
var pubnub = PUBNUB .init ({
@@ -702,7 +702,7 @@ The following example opens a `new WebSocket` in
702
702
703
703
``` html
704
704
<!-- Import PubNub Core Lib -->
705
- <script src =" https://pubnub.a.ssl.fastly.net/pubnub-3.5.43 .min.js" ></script >
705
+ <script src =" https://pubnub.a.ssl.fastly.net/pubnub-3.5.47 .min.js" ></script >
706
706
707
707
<!-- Use WebSocket Constructor for a New Socket Connection -->
708
708
<script >(function () {
@@ -750,7 +750,7 @@ The following example opens a `new WebSocket` in
750
750
751
751
``` html
752
752
<!-- NON-SSL Import PubNub Core Lib -->
753
- <script src =" http://pubnub.a.ssl.fastly.net/pubnub-3.5.43 .min.js" ></script >
753
+ <script src =" http://pubnub.a.ssl.fastly.net/pubnub-3.5.47 .min.js" ></script >
754
754
755
755
<!-- NON-SSL Use WebSocket Constructor for a New Socket Connection -->
756
756
<script >(function () {
@@ -767,7 +767,7 @@ How to create a new instance of the PubNub Object directly in JavaScript.
767
767
To do this, simply follow this ` init ` example:
768
768
769
769
``` html
770
- <script src =http://cdn.pubnub.com/pubnub-3.5.43 .min.js ></script >
770
+ <script src =http://cdn.pubnub.com/pubnub-3.5.47 .min.js ></script >
771
771
<script >(function (){
772
772
773
773
// INIT PubNub
@@ -811,7 +811,7 @@ will want to use `noleave` option:
811
811
Use the following setup commands to enable ` noleave ` .
812
812
813
813
``` html
814
- <script src =http://cdn.pubnub.com/pubnub-3.5.43 .min.js ></script >
814
+ <script src =http://cdn.pubnub.com/pubnub-3.5.47 .min.js ></script >
815
815
<script >(function (){
816
816
817
817
// INIT PubNub
0 commit comments