Skip to content

Commit

Permalink
fix import. need to fix nextgen function now
Browse files Browse the repository at this point in the history
  • Loading branch information
RichardJECooke authored and RichardJECooke committed Mar 3, 2024
1 parent 1aef8f1 commit 5c34400
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
1 change: 0 additions & 1 deletion docs/apps/apps/classSchedule/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ document.addEventListener('DOMContentLoaded', function () {
showSchedule(generation[0], input);
Array.from({ length: 500 }, () => {
generation = geneticAlgorithm.getNextGenerationAndAdjustSettings(generation, settings);
console.log(generation[0]);
showSchedule(generation[0], input);
});
});
Expand Down
6 changes: 3 additions & 3 deletions docs/apps/apps/classSchedule/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as types from './types';
import * as scheduler from './scheduler';
import * as geneticAlgorithm from './geneticAlgorithm';
import * as types from './types.js';
import * as scheduler from './scheduler.js';
import * as geneticAlgorithm from './geneticAlgorithm.js';

document.addEventListener('DOMContentLoaded', function() {
const input = scheduler.getData();
Expand Down
1 change: 0 additions & 1 deletion src/apps/apps/classSchedule/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ document.addEventListener('DOMContentLoaded', function () {
showSchedule(generation[0], input);
Array.from({ length: 500 }, () => {
generation = geneticAlgorithm.getNextGenerationAndAdjustSettings(generation, settings);
console.log(generation[0]);
showSchedule(generation[0], input);
});
});
Expand Down
6 changes: 3 additions & 3 deletions src/apps/apps/classSchedule/main.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as types from './types';
import * as scheduler from './scheduler';
import * as geneticAlgorithm from './geneticAlgorithm';
import * as types from './types.js';
import * as scheduler from './scheduler.js';
import * as geneticAlgorithm from './geneticAlgorithm.js';

document.addEventListener('DOMContentLoaded', function() {
const input = scheduler.getData();
Expand Down

0 comments on commit 5c34400

Please sign in to comment.