Commit 3702ef22 authored by Muhammadali's avatar Muhammadali

update

parent db63b049
{
"name": "boxdialer",
"version": "1.2.8",
"version": "1.2.9",
"description": "",
"main": "src/boxDialer.js",
"scripts": {
......
......@@ -580,11 +580,11 @@ export class BoxDialer {
}
stateLog(state) {
let stColor = state && state.slice(0, 4) == 'call' ? 'blue' : 'red';
if (state && state.slice(0, 4) == 'register') {
let stColor = state && state.slice(0, 4) == 'call' ? 'blue' : 'green';
if (state && state.slice(0, 8) == 'register') {
stColor = 'yellow';
}
let css = 'color:' + stColor + '; font-size: 30px;';
let css = 'color:' + stColor + '; font-size: 20px;';
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