Skip to content

Commit f783ecc

Browse files
author
Devendra
committed
removing demo keys
1 parent 4434eb9 commit f783ecc

File tree

23 files changed

+62
-68
lines changed

23 files changed

+62
-68
lines changed

core/pubnub-common.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -283,8 +283,8 @@ function PN_API(setup) {
283283
, KEEPALIVE = (+setup['keepalive'] || DEF_KEEPALIVE) * SECOND
284284
, TIME_CHECK = setup['timecheck'] || 0
285285
, NOLEAVE = setup['noleave'] || 0
286-
, PUBLISH_KEY = setup['publish_key'] || 'demo'
287-
, SUBSCRIBE_KEY = setup['subscribe_key'] || 'demo'
286+
, PUBLISH_KEY = setup['publish_key']
287+
, SUBSCRIBE_KEY = setup['subscribe_key']
288288
, AUTH_KEY = setup['auth_key'] || ''
289289
, SECRET_KEY = setup['secret_key'] || ''
290290
, hmac_SHA256 = setup['hmac_SHA256']

modern/pubnub.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,8 @@ function PN_API(setup) {
284284
, KEEPALIVE = (+setup['keepalive'] || DEF_KEEPALIVE) * SECOND
285285
, TIME_CHECK = setup['timecheck'] || 0
286286
, NOLEAVE = setup['noleave'] || 0
287-
, PUBLISH_KEY = setup['publish_key'] || 'demo'
288-
, SUBSCRIBE_KEY = setup['subscribe_key'] || 'demo'
287+
, PUBLISH_KEY = setup['publish_key']
288+
, SUBSCRIBE_KEY = setup['subscribe_key']
289289
, AUTH_KEY = setup['auth_key'] || ''
290290
, SECRET_KEY = setup['secret_key'] || ''
291291
, hmac_SHA256 = setup['hmac_SHA256']

modern/pubnub.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node.js/pubnub.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,8 @@ function PN_API(setup) {
284284
, KEEPALIVE = (+setup['keepalive'] || DEF_KEEPALIVE) * SECOND
285285
, TIME_CHECK = setup['timecheck'] || 0
286286
, NOLEAVE = setup['noleave'] || 0
287-
, PUBLISH_KEY = setup['publish_key'] || 'demo'
288-
, SUBSCRIBE_KEY = setup['subscribe_key'] || 'demo'
287+
, PUBLISH_KEY = setup['publish_key']
288+
, SUBSCRIBE_KEY = setup['subscribe_key']
289289
, AUTH_KEY = setup['auth_key'] || ''
290290
, SECRET_KEY = setup['secret_key'] || ''
291291
, hmac_SHA256 = setup['hmac_SHA256']

phonegap/pubnub.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,8 @@ function PN_API(setup) {
284284
, KEEPALIVE = (+setup['keepalive'] || DEF_KEEPALIVE) * SECOND
285285
, TIME_CHECK = setup['timecheck'] || 0
286286
, NOLEAVE = setup['noleave'] || 0
287-
, PUBLISH_KEY = setup['publish_key'] || 'demo'
288-
, SUBSCRIBE_KEY = setup['subscribe_key'] || 'demo'
287+
, PUBLISH_KEY = setup['publish_key']
288+
, SUBSCRIBE_KEY = setup['subscribe_key']
289289
, AUTH_KEY = setup['auth_key'] || ''
290290
, SECRET_KEY = setup['secret_key'] || ''
291291
, hmac_SHA256 = setup['hmac_SHA256']

phonegap/pubnub.min.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sencha/pubnub.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,8 @@ function PN_API(setup) {
284284
, KEEPALIVE = (+setup['keepalive'] || DEF_KEEPALIVE) * SECOND
285285
, TIME_CHECK = setup['timecheck'] || 0
286286
, NOLEAVE = setup['noleave'] || 0
287-
, PUBLISH_KEY = setup['publish_key'] || 'demo'
288-
, SUBSCRIBE_KEY = setup['subscribe_key'] || 'demo'
287+
, PUBLISH_KEY = setup['publish_key']
288+
, SUBSCRIBE_KEY = setup['subscribe_key']
289289
, AUTH_KEY = setup['auth_key'] || ''
290290
, SECRET_KEY = setup['secret_key'] || ''
291291
, hmac_SHA256 = setup['hmac_SHA256']

0 commit comments

Comments
 (0)