fewer log statements for the console

pull/1/head
ansuz 8 years ago
parent 55b1a17b0d
commit d679cac666

@ -93,7 +93,7 @@ define([
name: id, name: id,
type:'checkbox', type:'checkbox',
}).on('change', function () { }).on('change', function () {
console.log("(%s, %s) => %s", p.x, p.y, $check[0].checked); //console.log("(%s, %s) => %s", p.x, p.y, $check[0].checked);
var checked = proxy.table.cells[id] = $check[0].checked? 1: 0; var checked = proxy.table.cells[id] = $check[0].checked? 1: 0;
if (checked) { if (checked) {
$cover.addClass('yes'); $cover.addClass('yes');
@ -335,7 +335,7 @@ define([
var id = rowuid(); var id = rowuid();
makeOption(proxy, id, text).val(text); makeOption(proxy, id, text).val(text);
}); });
console.log(options); //console.log(options);
}); });
}); });
@ -382,7 +382,7 @@ define([
var K = k + 'Order'; var K = k + 'Order';
if (typeof(proxy.table[K]) === 'undefined') { if (typeof(proxy.table[K]) === 'undefined') {
console.log("Creating %s", K); //console.log("Creating %s", K);
proxy.table[K] = []; proxy.table[K] = [];
Object.keys(proxy.table[k]).forEach(function (uid) { Object.keys(proxy.table[k]).forEach(function (uid) {

Loading…
Cancel
Save