File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
; ( function ( window ) {
2
2
'use strict' ;
3
3
4
+ const ENVIRONMENT = 'development' ; // 'development' | 'production'
5
+
4
6
const MESSAGES = {
5
7
'login' : 'Login as any user on this computer and another user on another computer.' ,
6
8
'create_session' : 'Creating a session...' ,
85
87
window . CONFIG = {
86
88
'CREDENTIALS' : creds ,
87
89
'APP_CONFIG' : config ,
88
- 'MESSAGES' : MESSAGES
90
+ 'MESSAGES' : MESSAGES ,
91
+ 'ENVIRONMENT' : ENVIRONMENT ,
89
92
} ;
90
93
} ( window ) ) ;
Original file line number Diff line number Diff line change 1341
1341
var params = {
1342
1342
notification_type : 'push' ,
1343
1343
user : { ids : opponentsIDsNumbers } ,
1344
- environment : 'development' , // environment, can be 'production' as well.
1344
+ environment : CONFIG . ENVIRONMENT , // environment, can be 'production' as well.
1345
1345
message : QB . pushnotifications . base64Encode (
1346
1346
JSON . stringify ( pushPayload )
1347
1347
)
You can’t perform that action at this time.
0 commit comments