init params debugging: support objects etc
This commit is contained in:
parent
84e36b61a3
commit
fb3a2505ac
|
@ -1298,10 +1298,8 @@ function backend_sanity_check_callback(transport) {
|
||||||
console.log('reading init-params...');
|
console.log('reading init-params...');
|
||||||
|
|
||||||
for (k in params) {
|
for (k in params) {
|
||||||
var v = params[k];
|
console.log("IP: " + k + " => " + JSON.stringify(params[k]));
|
||||||
console.log("IP: " + k + " => " + v);
|
if (k == "label_base_index") _label_base_index = parseInt(params[k]);
|
||||||
|
|
||||||
if (k == "label_base_index") _label_base_index = parseInt(v);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
init_params = params;
|
init_params = params;
|
||||||
|
|
Loading…
Reference in New Issue