Skip to content

Commit

Permalink
console log removal, prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethbruskiewicz committed Aug 23, 2024
1 parent 749f836 commit aa97362
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion lib/DataHarmonizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,6 @@ class DataHarmonizer {
// Insert the new rows below the last existing row
this.hot.alter('insert_row_below', startRowIndex - 1, numRows);
// Validate and process the current selection
console.log('addRowsToBottom', this.context.currentSelection);
if (this.context.currentSelection !== null) {
// Find the nearest index after the last non-empty row in the specified column
const baseColCoord = this.findNearestIndexAfterLastNonEmpty(0);
Expand Down
1 change: 0 additions & 1 deletion lib/Toolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,6 @@ class Toolbar {
}
} else {
for (const dh of Object.values(this.context.dhs)) {
console.log('Toolbar openFile');
dh.invalid_cells = {};
await dh.runBehindLoadingScreen(dh.openFile.bind(dh), [file]);
dh.current_selection = [null, null, null, null];
Expand Down
4 changes: 0 additions & 4 deletions lib/utils/1m.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,6 @@ function parentBroadcastsCRUD(data_harmonizers, schema_tree) {
// broadcast CRUD
// Create and dispatch a custom event
propagatesChangesOnTheseKeys.forEach((shared_key) => {

data_harmonizers[node.name].hot.addHook(
'afterChange',
(changes, source) => {
Expand All @@ -354,7 +353,6 @@ function parentBroadcastsCRUD(data_harmonizers, schema_tree) {
const rowDataManager = createRowDataManager(
data_harmonizers[node.name].hot,
(rowData, source) => {
console.log('context menu callback', source);
const prop = data_harmonizers[
node.name
].getColumnIndexByFieldName(shared_key.name);
Expand Down Expand Up @@ -396,7 +394,6 @@ function parentBroadcastsCRUD(data_harmonizers, schema_tree) {
// undo_redo_callback('redo', action);
// });
// // TODO: copy/paste

});
} else {
console.warn('no parenthood defined', node.name);
Expand All @@ -418,7 +415,6 @@ function childListensCRUD(data_harmonizers, schema_tree) {
// afterChange
// assign event to DH container?
document.addEventListener('handsontableUpdate', function (event) {
console.log(event);
const { oldValue, newValue, sourceTable, sharedKey } = event.detail;
const childCol = data_harmonizers[
node.name
Expand Down

0 comments on commit aa97362

Please sign in to comment.