init params debugging: support objects etc

This commit is contained in:
Andrew Dolgov 2014-03-14 15:09:50 +04:00
parent 84e36b61a3
commit fb3a2505ac

View file

@ -1298,10 +1298,8 @@ function backend_sanity_check_callback(transport) {
console.log('reading init-params...');
for (k in params) {
var v = params[k];
console.log("IP: " + k + " => " + v);
if (k == "label_base_index") _label_base_index = parseInt(v);
console.log("IP: " + k + " => " + JSON.stringify(params[k]));
if (k == "label_base_index") _label_base_index = parseInt(params[k]);
}
init_params = params;