Commit 3702ef22 authored by Muhammadali's avatar Muhammadali

update

parent db63b049
{ {
"name": "boxdialer", "name": "boxdialer",
"version": "1.2.8", "version": "1.2.9",
"description": "", "description": "",
"main": "src/boxDialer.js", "main": "src/boxDialer.js",
"scripts": { "scripts": {
......
...@@ -580,11 +580,11 @@ export class BoxDialer { ...@@ -580,11 +580,11 @@ export class BoxDialer {
} }
stateLog(state) { stateLog(state) {
let stColor = state && state.slice(0, 4) == 'call' ? 'blue' : 'red'; let stColor = state && state.slice(0, 4) == 'call' ? 'blue' : 'green';
if (state && state.slice(0, 4) == 'register') { if (state && state.slice(0, 8) == 'register') {
stColor = 'yellow'; stColor = 'yellow';
} }
let css = 'color:' + stColor + '; font-size: 30px;'; let css = 'color:' + stColor + '; font-size: 20px;';
console.log(' ---onSessionEvent EVENT: %c %s', css, state); console.log(' ---onSessionEvent EVENT: %c %s', css, state);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment